]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Use a `div` instead of a `span` for the live region
authorScott González <scott.gonzalez@gmail.com>
Fri, 18 Sep 2015 15:19:59 +0000 (11:19 -0400)
committerScott González <scott.gonzalez@gmail.com>
Fri, 18 Sep 2015 15:19:59 +0000 (11:19 -0400)
Fixes #14587

ui/widgets/autocomplete.js

index 1ebd6ed7ad1726b646d98a54e1e812cdf901bfa8..4067f871fdef969baf34ca0c702e5e25e9902869 100644 (file)
@@ -329,7 +329,7 @@ $.widget( "ui.autocomplete", {
                        }
                } );
 
-               this.liveRegion = $( "<span>", {
+               this.liveRegion = $( "<div>", {
                        role: "status",
                        "aria-live": "assertive",
                        "aria-relevant": "additions"