Use aria-hidden for popups

Bug: 62948
Change-Id: I0d5428be2e5299e57232335c00b45649ba23ce9f
This commit is contained in:
Prateek Saxena 2014-03-23 09:28:52 +05:30 committed by Bartosz Dziewoński
parent dd639d4020
commit 27650cae19

View file

@ -219,6 +219,7 @@
left: offsetLeft left: offsetLeft
}) })
.append( bar.box ) .append( bar.box )
.attr( 'aria-hidden', 'false' )
.show() .show()
.removeClass( 'mwe-popups-fade-out mwe-popups-fade-in' ) .removeClass( 'mwe-popups-fade-out mwe-popups-fade-in' )
.addClass( 'mwe-popups-fade-in' ) .addClass( 'mwe-popups-fade-in' )
@ -284,6 +285,7 @@
$( this ) $( this )
.off( 'webkitAnimationEnd oanimationend msAnimationEnd animationend' ) .off( 'webkitAnimationEnd oanimationend msAnimationEnd animationend' )
.removeClass( 'mwe-popups-fade-out' ) .removeClass( 'mwe-popups-fade-out' )
.attr( 'aria-hidden', 'true' )
.hide(); .hide();
} }
} ); } );