From 8b4a3044cbc6d5ae88e2730cc893bb5e5af5782f Mon Sep 17 00:00:00 2001 From: Felix Nagel Date: Mon, 29 Apr 2013 22:07:41 +0200 Subject: Selectmenu: set aria states as string if needed --- ui/jquery.ui.selectmenu.js | 6 +++--- 1 file 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 = $( "