Skip to content

Commit

Permalink
fix(select): allow aria-expanded to be set to false
Browse files Browse the repository at this point in the history
fixes #5360

PiperOrigin-RevId: 597381616
  • Loading branch information
material-web-copybara authored and Copybara-Service committed Jan 11, 2024
1 parent 6efc904 commit 73725be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion select/internal/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 73725be

Please sign in to comment.