Skip to content

Commit 427815e

Browse files
committed
Autocomplete: Added WAI-ARIA live region support for screen-reader accessibility. Fixed #7840 - Autocomplete: popup results not read by screen-readers.
1 parent 1feec64 commit 427815e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ui/jquery.ui.autocomplete.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,9 +187,6 @@ $.widget( "ui.autocomplete", {
187187
});
188188

189189
this.liveRegion = this.element.after("<span role='status' class='ui-helper-hidden-accessible' aria-live='polite'></span>").next();
190-
var elementApplicationWrapper = $("<span role='application'></span>");
191-
// this.element.replaceWith(elementApplicationWrapper).appendTo(elementApplicationWrapper);
192-
this.element.parent().attr("role", "application");
193190
this._initSource();
194191
this.response = function() {
195192
return self._response.apply( self, arguments );

0 commit comments

Comments
 (0)