From 9a89e39367dda0d39a618c9672df59b95b7eb3a8 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab <hakim.elhattab@gmail.com>
Date: Wed, 14 Jan 2015 17:01:28 +0100
Subject: [PATCH] only read textContent for aria callout #1100

---
 js/reveal.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/js/reveal.js b/js/reveal.js
index e5576ed..65ac29f 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3216,7 +3216,7 @@
 						element.classList.remove( 'current-fragment' );
 
 						// Announce the fragments one by one to the Screen Reader
-						dom.statusDiv.innerHTML = element.textContent;
+						dom.statusDiv.textContent = element.textContent;
 
 						if( i === index ) {
 							element.classList.add( 'current-fragment' );
-- 
GitLab