don't trim aria status
This commit is contained in:
parent
943b6ef37e
commit
0a58df8390
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue