You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the calendar popup appears, start tabbing through the elements.
You will not be able to tab into the year or month dropdowns
Expected behavior
You can tab to the year/month-year dropdown as well as the calendar days, previous month, next month.
Additional context
This was found during an a11y audit, here's the text of their finding:
Issue: The dropdowns for selecting Month/Year within the datepicker are not keyboard accessible. When focused on the screen reader using the arrow keys, they are announced without a role.
Why it matters: Proper implementation of a combobox ensures that screen reader users and those relying on keyboard navigation can perceive and operate its functionality effectively. This enables all users to select options smoothly.
How to fix it: Consider implementing the control as a single-selection combobox. Use the WAI-ARIA examples and patterns as a reference for proper implementation.
Describe the bug
Year (
showYearDropdown
=true) and month-year (showMonthYearDropdown
=true) dropdowns are not accessible via keyboardTo Reproduce
Steps to reproduce the behavior:
You will not be able to tab into the year or month dropdowns
Expected behavior
You can tab to the year/month-year dropdown as well as the calendar days, previous month, next month.
Additional context
This was found during an a11y audit, here's the text of their finding:
This is a rereport of #4127
The text was updated successfully, but these errors were encountered: