mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +03:00
fix(select): allow aria-expanded to be set to false
fixes #5360 PiperOrigin-RevId: 597381616
This commit is contained in:
parent
6efc90403b
commit
73725be670
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user