Skip to content

Commit 7ab65e4

Browse files
essjay05andrewseguin
authored andcommitted
fix(material/select): remove incompatible aria-autocomplete attribute (#29645)
Fixes a bug reported in MatSelect where the usage of aria-autocomplete is not a valid attribute that can be used with aria role=listbox. Removes the aria-autocomplete attribute to fix the violation: aria-allowed-attr. Fixes b/352496530 (cherry picked from commit 6077663)
1 parent 7db4b5f commit 7ab65e4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/material/select/select.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ export class MatSelectChange {
178178
changeDetection: ChangeDetectionStrategy.OnPush,
179179
host: {
180180
'role': 'combobox',
181-
'aria-autocomplete': 'none',
182181
'aria-haspopup': 'listbox',
183182
'class': 'mat-mdc-select',
184183
'[attr.id]': 'id',

0 commit comments

Comments
 (0)