Closed sawyerclick closed 1 year ago
One obvious fix is to set keydown's Enter
case to use handleItemClick({item: hoverItem, i: hoverItemIndex})
You can use keybinding: left and right arrows then backspace to remove.
Reopen if you think it needs updating still. Thanks
The problem While using a
multiple
dropdown, users are unable to de-select items using solely keyboard strokes. Users are able to do so via click events. This makes the dropdown inaccessible to screenreaders and keyboard-based usersThe fix In order to be accessible and match click events, the 'Enter' keyboard stroke that selects should toggle the selection state rather than solely selecting.
I'm willing to write a PR to fix, if required