-
Notifications
You must be signed in to change notification settings - Fork 832
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab key does not focus controls in date picker #1059
Comments
Another keyboard issue- pressing Enter on the input does not open the picker (does not open the modal or inline picker on the demo page). This is seemingly also a regression since version 2. Optimally the picker should be able to open, select a date, select a time, and close using only the keyboard so that it is accessible to keyboard-only and screenreader users. |
Ideally for accessibility is to use only keyboard mode. And even make aria-hidden on open picker button. |
Thanks, I'll try using the keyboard picker and set aria-hidden on the input adornment. It'd be great if tab could focus the hour & minute options for the time picker as well- is there anything against that or it is just low priority? |
Will be fixed in nearest release |
Hi @dmtrKovalenko, we have a use-case where it's not feasible to display a text input. Our application allows for user-specified formatted dates (e.g. yyyy-MM-dd, MMM dd, yyyy, etc.) to be used on every page, and currently this library does not support arbitrary masks for inputs. Additionally, we have controls where from a UX perspective it only makes sense to open a date picker instead of a text input. Keyboard accessibility for the picker is a must-have, and text inputs don't fill every scenario. |
In the latest release, tabbing now moves between controls, though the Enter key is not captured in the datepicker, only pressing Space. Is that expected? |
Environment
Steps to reproduce
Expected behavior
The tab key should move between the toolbar controls and days of the month, like in version 2 of material-ui-pickers.
Actual behavior
The tab key does not seem to focus anything.
Live example
https://material-ui-pickers.dev/demo/datetime-picker
The text was updated successfully, but these errors were encountered: