Skip to content

Commit

Permalink
fix: add toggle button aria label
Browse files Browse the repository at this point in the history
  • Loading branch information
iobuhov committed Feb 12, 2025
1 parent 71aead7 commit 3f043a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const Combobox = observer(function Combobox(props: ComboboxProps) {
placeholder: props.inputPlaceholder
})}
/>
<button className={cls.toggle} {...getToggleButtonProps()}>
<button className={cls.toggle} {...getToggleButtonProps({ "aria-label": "Show options" })}>
<Arrow className={cls.stateIcon} />
</button>
<ClearButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const TagPicker = observer(function TagPicker(props: TagPickerProps): Rea
})}
/>
</div>
<button className={cls.toggle} {...getToggleButtonProps()}>
<button className={cls.toggle} {...getToggleButtonProps({ "aria-label": "Show options" })}>
<Arrow className={cls.stateIcon} />
</button>
<ClearButton
Expand Down

0 comments on commit 3f043a3

Please sign in to comment.