From 27650cae1997594ce7ea8b634c4c4720b5c0e6d0 Mon Sep 17 00:00:00 2001 From: Prateek Saxena Date: Sun, 23 Mar 2014 09:28:52 +0530 Subject: [PATCH] Use aria-hidden for popups Bug: 62948 Change-Id: I0d5428be2e5299e57232335c00b45649ba23ce9f --- resources/ext.popups.core.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/ext.popups.core.js b/resources/ext.popups.core.js index e73c7010c..5428f96ca 100644 --- a/resources/ext.popups.core.js +++ b/resources/ext.popups.core.js @@ -219,6 +219,7 @@ left: offsetLeft }) .append( bar.box ) + .attr( 'aria-hidden', 'false' ) .show() .removeClass( 'mwe-popups-fade-out mwe-popups-fade-in' ) .addClass( 'mwe-popups-fade-in' ) @@ -284,6 +285,7 @@ $( this ) .off( 'webkitAnimationEnd oanimationend msAnimationEnd animationend' ) .removeClass( 'mwe-popups-fade-out' ) + .attr( 'aria-hidden', 'true' ) .hide(); } } );