mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-23 23:24:39 +00:00
Use aria-hidden for popups
Bug: 62948 Change-Id: I0d5428be2e5299e57232335c00b45649ba23ce9f
This commit is contained in:
parent
dd639d4020
commit
27650cae19
|
@ -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();
|
||||||
}
|
}
|
||||||
} );
|
} );
|
||||||
|
|
Loading…
Reference in a new issue