]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed #5368 - Autocomplete: aria role for menu should be listbox instead of menu
authorRichard Worth <rdworth@gmail.com>
Wed, 17 Mar 2010 23:22:02 +0000 (23:22 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 17 Mar 2010 23:22:02 +0000 (23:22 +0000)
ui/jquery.ui.autocomplete.js

index 200f9b4313cc00adb66cb2a62a8b92ea3442b1ad..6641e4e92f2061f48a75fdc3ba7b910da155838a 100644 (file)
@@ -327,7 +327,7 @@ $.widget("ui.menu", {
                this.element
                        .addClass("ui-menu ui-widget ui-widget-content ui-corner-all")
                        .attr({
-                               role: "menu",
+                               role: "listbox",
                                "aria-activedescendant": "ui-active-menuitem"
                        })
                        .click(function(e) {