mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: make use of Menu option 'role'
This commit is contained in:
parent
b30184d885
commit
7345e43048
8
ui/jquery.ui.selectmenu.js
vendored
8
ui/jquery.ui.selectmenu.js
vendored
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user