Skip to content

Commit

Permalink
only read textContent for aria callout #1100
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Jan 14, 2015
1 parent 5359da0 commit 9a89e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/reveal.js
Expand Up @@ -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' );
Expand Down

0 comments on commit 9a89e39

Please sign in to comment.