don't trim aria status

This commit is contained in:
Hakim El Hattab 2014-06-09 11:36:28 +02:00
parent 943b6ef37e
commit 0a58df8390

View file

@ -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' );