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;
|
that.focus = item.index;
|
||||||
}
|
},
|
||||||
})
|
// set ARIA role
|
||||||
// change ARIA role
|
role: 'listbox'
|
||||||
.attr( 'role', 'listbox' );
|
});
|
||||||
|
|
||||||
// change menu styles?
|
// change menu styles?
|
||||||
if ( this.options.dropdown ) {
|
if ( this.options.dropdown ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user