We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c27bdee commit 1bdcbd3Copy full SHA for 1bdcbd3
select/internal/select.ts
@@ -386,14 +386,15 @@ export abstract class Select extends selectBaseClass {
386
}
387
388
private renderField() {
389
+ const ariaLabel = (this as ARIAMixinStrict).ariaLabel || this.label;
390
return staticHtml`
391
<${this.fieldTag}
392
aria-haspopup="listbox"
393
role="combobox"
394
part="field"
395
id="field"
396
tabindex=${this.disabled ? '-1' : '0'}
- aria-label=${(this as ARIAMixinStrict).ariaLabel || nothing}
397
+ aria-label=${ariaLabel || nothing}
398
aria-describedby="description"
399
aria-expanded=${this.open ? 'true' : 'false'}
400
aria-controls="listbox"
0 commit comments