Skip to content

Commit

Permalink
fix: dropdown-select fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
tshimber committed Oct 28, 2024
1 parent 6a68116 commit 322a072
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,7 @@ export class DropdownSelect {
aria-expanded={this.open ? 'true' : 'false'}
aria-haspopup="listbox"
aria-labelledby={`${this.comboboxId}-label`}
aria-details={this.ariaDetailsId}
id={this.comboboxId}
part="combobox"
role="combobox"
Expand All @@ -524,7 +525,7 @@ export class DropdownSelect {
).value,
}
: {})}
{...(this.helperText ? ariaDescribedByAttr : {})}
{...ariaDescribedByAttr}
{...(this.invalid ? { 'aria-invalid': 'true' } : {})}
>
<span part="combobox-value">
Expand Down

0 comments on commit 322a072

Please sign in to comment.