Skip to content
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

The calendar is missing accessibility properties #4518

Closed
barettjfed opened this issue Feb 15, 2024 · 0 comments · Fixed by qburst/react-datepicker-3#15 or #4549
Closed

The calendar is missing accessibility properties #4518

barettjfed opened this issue Feb 15, 2024 · 0 comments · Fixed by qburst/react-datepicker-3#15 or #4549

Comments

@barettjfed
Copy link
Contributor

Describe the bug
According to the ARIA Authoring Practices guide for W3C the calendar popup should have role="dialog" and aria-modal="true". Without these in place screen readers will not have trapped focus.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any react-datepicker example
  2. Notice that they are missing these properties

Expected behavior
role="dialog" and aria-modal="true" are present on the calendar popup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment