From a241fdb40bcf0cebda6a19c8e0c08e331ba93390 Mon Sep 17 00:00:00 2001 From: Joy Serquina Date: Mon, 26 Aug 2024 21:16:46 +0000 Subject: [PATCH] fix(material/select): remove incompatible aria-autocomplete attribute 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 --- src/material/select/select.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/material/select/select.ts b/src/material/select/select.ts index e78fbf0c13a1..f498580343d8 100644 --- a/src/material/select/select.ts +++ b/src/material/select/select.ts @@ -178,7 +178,6 @@ export class MatSelectChange { changeDetection: ChangeDetectionStrategy.OnPush, host: { 'role': 'combobox', - 'aria-autocomplete': 'none', 'aria-haspopup': 'listbox', 'class': 'mat-mdc-select', '[attr.id]': 'id',