From 73725be67053f3a5ba4aa25f8b12a82afc4cad71 Mon Sep 17 00:00:00 2001 From: Material Web Team Date: Wed, 10 Jan 2024 16:08:09 -0800 Subject: [PATCH] fix(select): allow aria-expanded to be set to false fixes #5360 PiperOrigin-RevId: 597381616 --- select/internal/select.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select/internal/select.ts b/select/internal/select.ts index 92b4232a8..7133628f1 100644 --- a/select/internal/select.ts +++ b/select/internal/select.ts @@ -400,7 +400,7 @@ export abstract class Select extends selectBaseClass { tabindex=${this.disabled ? '-1' : '0'} aria-label=${(this as ARIAMixinStrict).ariaLabel || nothing} aria-describedby="description" - aria-expanded=${this.open ? 'true' : nothing} + aria-expanded=${this.open ? 'true' : 'false'} aria-controls="listbox" class="field" label=${this.label}