diff options
author | Felix Nagel <info@felixnagel.com> | 2013-04-29 22:07:41 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-04-29 22:07:41 +0200 |
commit | 8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f (patch) | |
tree | fca9d8b0542ddb416321737f54ee9575a883176a | |
parent | b84cd7e686c0e3cd924dbe48eada7de53ed09750 (diff) | |
download | jquery-ui-8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f.tar.gz jquery-ui-8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f.zip |
Selectmenu: set aria states as string if needed
-rw-r--r-- | ui/jquery.ui.selectmenu.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 3533579e2..3254c315e 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/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 }); |