This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree 1 file changed +3
-2
lines changed
src/components/autocomplete/js 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,7 @@ function MdAutocomplete () {
174
174
return '\
175
175
<md-autocomplete-wrap\
176
176
layout="row"\
177
- ng-class="{ \'md-whiteframe-z1\': !floatingLabel, \'md-menu-showing\': !$mdAutocompleteCtrl.hidden }"\
178
- role="listbox">\
177
+ ng-class="{ \'md-whiteframe-z1\': !floatingLabel, \'md-menu-showing\': !$mdAutocompleteCtrl.hidden }">\
179
178
' + getInputElement ( ) + '\
180
179
<md-progress-linear\
181
180
class="' + ( attr . mdFloatingLabel ? 'md-inline' : '' ) + '"\
@@ -251,6 +250,7 @@ function MdAutocomplete () {
251
250
' + ( attr . mdSelectOnFocus != null ? 'md-select-on-focus=""' : '' ) + '\
252
251
aria-label="{{floatingLabel}}"\
253
252
aria-autocomplete="list"\
253
+ role="combobox"\
254
254
aria-haspopup="true"\
255
255
aria-activedescendant=""\
256
256
aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/>\
@@ -276,6 +276,7 @@ function MdAutocomplete () {
276
276
' + ( attr . mdSelectOnFocus != null ? 'md-select-on-focus=""' : '' ) + '\
277
277
aria-label="{{placeholder}}"\
278
278
aria-autocomplete="list"\
279
+ role="combobox"\
279
280
aria-haspopup="true"\
280
281
aria-activedescendant=""\
281
282
aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/>\
You can’t perform that action at this time.
0 commit comments