don't trim aria status
parent
943b6ef37e
commit
0a58df8390
|
@ -2966,7 +2966,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.trim();
|
dom.statusDiv.innerHTML = element.textContent;
|
||||||
|
|
||||||
if( i === index ) {
|
if( i === index ) {
|
||||||
element.classList.add( 'current-fragment' );
|
element.classList.add( 'current-fragment' );
|
||||||
|
|
Loading…
Reference in New Issue