[material-ui][Autocomplete] Issues with clearOnEscape when using screen reader on Windows #43458
Labels
accessibility
a11y
component: autocomplete
This is the name of the generic UI component, not the React module!
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/hungry-northcutt-d3nr68?file=%2Fsrc%2FDemo.tsx
Steps:
Current behavior
While the escape key does clear the input field, the focus on the input seems to be lost.
Videos:
https://drive.google.com/file/d/15xjifFiumDYm7X7Eztf5f33-aB5qPozs/view?usp=sharing
https://drive.google.com/file/d/1cFjOo6-xZA-Su9qYCWAmHo4Ka_O6M8Mx/view?usp=sharing
Expected behavior
When using the escape key, the input will stay focused and the user will continue to be able to interact with the element.
Context
Ensure that users have the ability to interact with the autocomplete component when using screen readers on Windows.
Your environment
npx @mui/envinfo
Search keywords: clearOnEscape
The text was updated successfully, but these errors were encountered: