Skip to content

Commit 3f043a3

Browse files
committed
fix: add toggle button aria label
1 parent 71aead7 commit 3f043a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/shared/widget-plugin-filtering/src/controls/combobox/Combobox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const Combobox = observer(function Combobox(props: ComboboxProps) {
5050
placeholder: props.inputPlaceholder
5151
})}
5252
/>
53-
<button className={cls.toggle} {...getToggleButtonProps()}>
53+
<button className={cls.toggle} {...getToggleButtonProps({ "aria-label": "Show options" })}>
5454
<Arrow className={cls.stateIcon} />
5555
</button>
5656
<ClearButton

packages/shared/widget-plugin-filtering/src/controls/tag-picker/TagPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export const TagPicker = observer(function TagPicker(props: TagPickerProps): Rea
102102
})}
103103
/>
104104
</div>
105-
<button className={cls.toggle} {...getToggleButtonProps()}>
105+
<button className={cls.toggle} {...getToggleButtonProps({ "aria-label": "Show options" })}>
106106
<Arrow className={cls.stateIcon} />
107107
</button>
108108
<ClearButton

0 commit comments

Comments
 (0)