mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Selectmenu: make use of Menu option 'role' (follow-up), no need to adjust li role
This commit is contained in:
3
ui/jquery.ui.selectmenu.js
vendored
3
ui/jquery.ui.selectmenu.js
vendored
@@ -175,9 +175,6 @@ $.widget( "ui.selectmenu", {
|
||||
this.menu.menu( "refresh" );
|
||||
this.menuItems = this.menu.find( "li" ).not( '.ui-selectmenu-optgroup' );
|
||||
|
||||
// adjust ARIA
|
||||
this.menuItems.find( 'a' ).attr( 'role', 'option' );
|
||||
|
||||
// select current item
|
||||
item = this._getSelectedItem();
|
||||
this.menu.menu( "focus", null, item );
|
||||
|
||||
Reference in New Issue
Block a user