Datepicker is not keyboard accessible in certain cases
See original GitHub issueWhat package has an issue
Describe the bug
I discovered through writing an e2e test that Datepicker
component with allowFreeInput
prop is not keyboard accessible.
You can verify this by going to e.g. https://v5.mantine.dev/dates/date-picker/#min-and-max-dates and checking the following examples:
- Min and max dates
- Allow free input
- Styles based on modifiers
Try to use arrow down
or tab
key, and you should see that these examples are not keyboard accessible like the other examples.
All others work as expected.
In which browser did the problem occur
Brave Version 1.40.107 Chromium: 103.0.5060.53 (Official Build) (64-bit)
If possible, please include a link to a codesandbox with the reproduced problem
No response
Do you know how to fix the issue
No
Are you willing to participate in fixing this issue and create a pull request with the fix
No
Possible fix
No response
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[date-picker] component is not accessible via screenreader
Some info wrt the keyboard navigation: The current range version lets user select both start/end first time the date picker is opened. Looks ......
Read more >jQuery Datepicker with text input that doesn't allow user input
that doesn't allow the user to input random text in the textbox. I want the Datepicker to pop up when the textbox gains...
Read more >Datepickers - Accessibility Quick Guide - Paul J. Adam
Datepicker calendar control must be keyboard operable. · Calendar controls must have meaningful accessible names and correct role/state for each button. · Monday, ......
Read more >Datepicker - Angular powered Bootstrap
Datepicker fully supports keyboard navigation and screen readers. You can navigate between controls using Tab (focus will be trapped in the popup), move...
Read more >Datepicker widget - ADG - the Accessibility Developer Guide!
The datepicker must be operable using both keyboard only and desktop screen readers (with a reasonable interplay of default keys like Tab , ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 4.2.12
Yeah, there is an issue with some edge cases where initial date cannot be focused