mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-05-13 03:01:39 -04:00
Selectmenu: set aria states as string if needed
This commit is contained in:
6
ui/jquery.ui.selectmenu.js
vendored
6
ui/jquery.ui.selectmenu.js
vendored
@@ -78,10 +78,10 @@ $.widget( "ui.selectmenu", {
|
||||
id: this.ids.button,
|
||||
width: this.element.outerWidth(),
|
||||
role: "combobox",
|
||||
"aria-expanded": false,
|
||||
"aria-expanded": "false",
|
||||
"aria-autocomplete": "list",
|
||||
"aria-owns": this.ids.menu,
|
||||
"aria-haspopup": true
|
||||
"aria-haspopup": "true"
|
||||
})
|
||||
.insertAfter( this.element );
|
||||
|
||||
@@ -106,7 +106,7 @@ $.widget( "ui.selectmenu", {
|
||||
|
||||
// Create menu portion, append to body
|
||||
this.menu = $( "<ul>", {
|
||||
"aria-hidden": true,
|
||||
"aria-hidden": "true",
|
||||
"aria-labelledby": this.ids.button,
|
||||
id: this.ids.menu
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user