aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.menu.js
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2011-02-11 15:42:44 +0100
committerjzaefferer <joern.zaefferer@gmail.com>2011-02-11 15:42:44 +0100
commite69839ae6aee20fcb4f8dee7938bceeb8672671d (patch)
tree5b1b5255e50606fb450e5a187a94c577e2cd902c /ui/jquery.ui.menu.js
parent1cb1b9cef7cfc4bd77c619f4ee55b5d3fc99419a (diff)
downloadjquery-ui-e69839ae6aee20fcb4f8dee7938bceeb8672671d.tar.gz
jquery-ui-e69839ae6aee20fcb4f8dee7938bceeb8672671d.zip
Menu: Fix unit tests and set the right menu1-activedescendant attribute
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r--ui/jquery.ui.menu.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js
index 84ea84384..b2e9e6157 100644
--- a/ui/jquery.ui.menu.js
+++ b/ui/jquery.ui.menu.js
@@ -146,7 +146,7 @@ $.widget("ui.menu", {
.end();
// need to remove the attribute before adding it for the screenreader to pick up the change
// see http://groups.google.com/group/jquery-a11y/msg/929e0c1e8c5efc8f
- this.element.removeAttr("aria-activedescenant").attr("aria-activedescenant", self.itemId);
+ this.element.removeAttr("aria-activedescendant").attr("aria-activedescendant", self.itemId);
this._trigger( "focus", event, { item: item } );
},