Skip to content

Commit 526ba82

Browse files
authored
#978 fix: initialise aria-expanded (#979)
1 parent ee9ae5e commit 526ba82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Selector/Input.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const Input: React.RefForwardingComponent<InputRef, InputProps> = (
9191

9292
role: 'combobox',
9393
'aria-label': 'Search',
94-
'aria-expanded': open,
94+
'aria-expanded': open || false,
9595
'aria-haspopup': 'listbox',
9696
'aria-owns': `${id}_list`,
9797
'aria-autocomplete': 'list',

0 commit comments

Comments
 (0)