Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Selectmenu: fixed aria-hidden attribute

  • Loading branch information...
commit e79700eb288fd0fdc441311d0ee8c7bb887c8f22 1 parent 74b8a50
Felix Nagel fnagel authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  ui/jquery.ui.selectmenu.js
2  ui/jquery.ui.selectmenu.js
@@ -200,6 +200,7 @@ $.widget( "ui.selectmenu", {
200 200 }
201 201
202 202 this.menuWrap.addClass( 'ui-selectmenu-open' );
  203 + this.menu.attr("aria-hidden", false);
203 204 // needs to be fired after the document click event has closed all other Selectmenus
204 205 // otherwise the current item is not indicated
205 206 // TODO check if this should be handled by Menu
@@ -241,6 +242,7 @@ $.widget( "ui.selectmenu", {
241 242 }
242 243
243 244 this.menuWrap.removeClass( 'ui-selectmenu-open' );
  245 + this.menu.attr("aria-hidden", true);
244 246 this.isOpen = false;
245 247
246 248 if ( focus ) {

0 comments on commit e79700e

Please sign in to comment.
Something went wrong with that request. Please try again.