aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.selectmenu.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-11-22 00:11:23 +0100
committerFelix Nagel <info@felixnagel.com>2011-11-22 00:11:23 +0100
commite79700eb288fd0fdc441311d0ee8c7bb887c8f22 (patch)
tree2c2421703cd8b31671a6c9ba17bdeef6a21e2e6c /ui/jquery.ui.selectmenu.js
parent74b8a504bcddd35972f1a32ebdb7fd3fd47d1924 (diff)
downloadjquery-ui-e79700eb288fd0fdc441311d0ee8c7bb887c8f22.tar.gz
jquery-ui-e79700eb288fd0fdc441311d0ee8c7bb887c8f22.zip
Selectmenu: fixed aria-hidden attribute
Diffstat (limited to 'ui/jquery.ui.selectmenu.js')
-rw-r--r--ui/jquery.ui.selectmenu.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index a7b63e57f..b8aec3750 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -200,6 +200,7 @@ $.widget( "ui.selectmenu", {
}
this.menuWrap.addClass( 'ui-selectmenu-open' );
+ this.menu.attr("aria-hidden", false);
// needs to be fired after the document click event has closed all other Selectmenus
// otherwise the current item is not indicated
// TODO check if this should be handled by Menu
@@ -241,6 +242,7 @@ $.widget( "ui.selectmenu", {
}
this.menuWrap.removeClass( 'ui-selectmenu-open' );
+ this.menu.attr("aria-hidden", true);
this.isOpen = false;
if ( focus ) {