Browse Source

only read textContent for aria callout #1100

Hakim El Hattab 9 years ago
parent
commit
9a89e39367
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/reveal.js

+ 1 - 1
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' );