Accessibility issues with keyboard navigation Autocomplete #44936
Labels
component: autocomplete
This is the name of the generic UI component, not the React module!
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
A) In Autocomplete, the Clear button is not accessible by keyboard. To reproduce:
Expected: Focus moves to the now-visible Clear button
Current: Focus moves out of the example
My workaround:
However, with this workaround, the clear button can only be activated with Space. Ideally, it would be activated with either Space or Enter.
B) In Autocomplete with Multi, pressing Enter when focused on a selected dropdown element causes the element to get deleted. To reproduce:
Current: The selected option is deleted from the selection.
Expected: My expectation is that the dropdown would close, and the selected option would stay selected. (But perhaps this is intended behavior?)
C) In Autocomplete with Multi, when navigating with Voiceover, after deleting an option, focus returns to the document body. To reproduce:
Current: Focus shifts to the document body
Expected: Focus remains on the autocomplete component. (Perhaps this a bug with VO, not MUI?)
D) In Autocomplete with Multi, users should be able to tab around the selected options. To reproduce:
Expected: Focus moves to the option chips
Current: Focus moves out of the example. Option chips can only be focused using left-right arrows. Relates to other issues with chip accessibility #20470, but I think this is a separate problem specific to chips within Autocomplete.
Current behavior
No response
Expected behavior
No response
Context
Hi MUI maintainers! While my team was auditing our app's accessibility, we came across a few things that we thought were accessibility problems within the Autocomplete component. Since we couldn't find existing issues for these, we wanted to create an issue to discuss with you. Let us know, which ones of these are desired behavior, which you'd consider bugs, and which may be fixed with the upcoming work on #25365!
I'll add the caveat that we are not screenreader users, ourselves.
This is my first time creating an issue in the MUI repo. Please let me know if anything else would be helpful. Thanks!
Related issues:
Your environment
Tested using examples in the current MUI docs (see links above), using VoiceOver on Chrome.
Search keywords: accessibility autocomplete
The text was updated successfully, but these errors were encountered: