only read textContent for aria callout #1100
This commit is contained in:
1 parent
5359da0b06
commit
9a89e39367
1 file changed
+1
-1
+1
-1
@@ -3216,7 +3216,7 @@
|
|||||||
element.classList.remove( 'current-fragment' );
|
element.classList.remove( 'current-fragment' );
|
||||||
|
|
||||||
// Announce the fragments one by one to the Screen Reader
|
// Announce the fragments one by one to the Screen Reader
|
||||||
dom.statusDiv.innerHTML = element.textContent;
|
dom.statusDiv.textContent = element.textContent;
|
||||||
|
|
||||||
if( i === index ) {
|
if( i === index ) {
|
||||||
element.classList.add( 'current-fragment' );
|
element.classList.add( 'current-fragment' );
|
||||||
|
|||||||
Reference in new issue
Block a user