Skip to content

Commit 73725be

Browse files
fix(select): allow aria-expanded to be set to false
fixes #5360 PiperOrigin-RevId: 597381616
1 parent 6efc904 commit 73725be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

select/internal/select.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ export abstract class Select extends selectBaseClass {
400400
tabindex=${this.disabled ? '-1' : '0'}
401401
aria-label=${(this as ARIAMixinStrict).ariaLabel || nothing}
402402
aria-describedby="description"
403-
aria-expanded=${this.open ? 'true' : nothing}
403+
aria-expanded=${this.open ? 'true' : 'false'}
404404
aria-controls="listbox"
405405
class="field"
406406
label=${this.label}

0 commit comments

Comments
 (0)