Permalink
Browse files

Selectmenu: fixed aria-hidden attribute

  • Loading branch information...
1 parent 74b8a50 commit e79700eb288fd0fdc441311d0ee8c7bb887c8f22 @fnagel fnagel committed Nov 21, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.selectmenu.js
View
2 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 ) {

0 comments on commit e79700e

Please sign in to comment.