-
-
Notifications
You must be signed in to change notification settings - Fork 741
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
Accessibility: move from disabled
to aria-disabled
#1449
Comments
Hi @gpbl, could you clarify why you think disabled days should be available in the accessibility tree? Actually, my company's QA team believes that disabled days should not be focusable in terms of accessibility and I'm a little confused. I think the QA team would be happy if I could handle disabled days in a similar way to Chrome's native date picker. Is there a way to configure react-day-picker to behave like that?
Thanks! |
@kimamula thanks for you reply! The disabled days are available in the accessibility tree as they are rendered with As consequence of this, the disabled buttons are focusable.
This is interesting to me. Do you have some docs or research justifying the feedback from your QA team?
In this case, consider using the |
@gpbl thanks for you reply.
I shared this issue with accessibility experts at my company and I got this response:
I think this makes sense. What do you think?
I tried |
Context
According to the docs for
aria-disabled
, disabled days should be available in the accessibility tree.What we need to do
disable
attribute for buttons witharia-disabled
The text was updated successfully, but these errors were encountered: