Skip to content
Permalink
Browse files

Selectmenu: set aria states as string if needed

  • Loading branch information...
fnagel committed Apr 29, 2013
1 parent b84cd7e commit 8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f
Showing with 3 additions and 3 deletions.
  1. +3 −3 ui/jquery.ui.selectmenu.js
@@ -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
});

0 comments on commit 8b4a304

Please sign in to comment.
You can’t perform that action at this time.