Permalink
Browse files

Selectmenu: make use of Menu option 'role'

  • Loading branch information...
1 parent b30184d commit 7345e4304884021f7cfc499b30cc2147f9501bdb @fnagel fnagel committed May 24, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 ui/jquery.ui.selectmenu.js
@@ -148,10 +148,10 @@ $.widget( "ui.selectmenu", {
}
}
that.focus = item.index;
- }
- })
- // change ARIA role
- .attr( 'role', 'listbox' );
+ },
+ // set ARIA role
+ role: 'listbox'
+ });
// change menu styles?
if ( this.options.dropdown ) {

0 comments on commit 7345e43

Please sign in to comment.