Dropdown: Accessbility - cannot tab out of editable dropdown with clear icon #7710
Labels
Component: Accessibility
Issue or pull request is related to WCAG or ARIA
Milestone
Describe the bug
When focused on a Dropdown in primereact v10 with the
editable
prop, it becomes impossible to shift+tab to move focus back to the previous element. If you useeditable
andshowClear
props, you cannot tab forward either.Reproducer
N/A - stackblitz has primereact v9, which does not have this bug.
System Information
Steps to reproduce the behavior
In primereact 10.9.2, render the following dropdown - you cannot tab or shift+tab to move focus away from the dropdown once you're focused within it (except by selecting an option, which returns focus to the start of the page, as per #6873 )
Shift+tab being broken is also visible in the docs example. If you tab into the editable dropdown, or click on it, you cannot use shift+tab to move focus to the previous element - https://primereact.org/dropdown/#editable
Expected behavior
Should be able to shift+tab to move focus back from an
editable
Dropdown, and should be able to tab forward from aneditable
Dropdown with a clear icon.The text was updated successfully, but these errors were encountered: