Skip to content

Commit

Permalink
#978 fix: initialise aria-expanded (#979)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviusdolca committed Sep 1, 2023
1 parent ee9ae5e commit 526ba82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Selector/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const Input: React.RefForwardingComponent<InputRef, InputProps> = (

role: 'combobox',
'aria-label': 'Search',
'aria-expanded': open,
'aria-expanded': open || false,
'aria-haspopup': 'listbox',
'aria-owns': `${id}_list`,
'aria-autocomplete': 'list',
Expand Down

0 comments on commit 526ba82

Please sign in to comment.