Skip to content

Commit 9a89e39

Browse files
committed
only read textContent for aria callout #1100
1 parent 5359da0 commit 9a89e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/reveal.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3216,7 +3216,7 @@
32163216
element.classList.remove( 'current-fragment' );
32173217

32183218
// Announce the fragments one by one to the Screen Reader
3219-
dom.statusDiv.innerHTML = element.textContent;
3219+
dom.statusDiv.textContent = element.textContent;
32203220

32213221
if( i === index ) {
32223222
element.classList.add( 'current-fragment' );

0 commit comments

Comments
 (0)