aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2013-04-29 22:07:41 +0200
committerFelix Nagel <info@felixnagel.com>2013-04-29 22:07:41 +0200
commit8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f (patch)
treefca9d8b0542ddb416321737f54ee9575a883176a
parentb84cd7e686c0e3cd924dbe48eada7de53ed09750 (diff)
downloadjquery-ui-8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f.tar.gz
jquery-ui-8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f.zip
Selectmenu: set aria states as string if needed
-rw-r--r--ui/jquery.ui.selectmenu.js6
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
});