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

Not possible to find input by role when calendar is opened #5418

Open
kubmir opened this issue Feb 17, 2025 · 0 comments
Open

Not possible to find input by role when calendar is opened #5418

kubmir opened this issue Feb 17, 2025 · 0 comments

Comments

@kubmir
Copy link

kubmir commented Feb 17, 2025

Describe the bug
The issue occurs when using a date picker component with a custom input. Previously, up until version 6.2.0, the input field was accessible using findByRole combined with name, even when the calendar container was open. However, starting from version 6.3.0 (and persisting in 8.0.0), the input element is no longer accessible in this way when the calendar is open. Potential accessibility issues if screen readers also struggle to find the input.

To Reproduce

  1. Create date picker component with custom input
  2. Click / type / clear the input so the calendar container opens
  3. Try to get / find input element when calendar container is opened

Expected behavior
Input should by accessible by findByRole in combination with name even though calendar container is opened. It works like this till 6.2.0. The first broken version if 6.3.0 and it is still not accessible in version 8.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant