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

Accessibility issue with shortcut panel close button #2236

Open
Maksim-Skvortsov opened this issue Jul 18, 2023 · 0 comments
Open

Accessibility issue with shortcut panel close button #2236

Maksim-Skvortsov opened this issue Jul 18, 2023 · 0 comments

Comments

@Maksim-Skvortsov
Copy link

react-dates version
e.g. react-dates@18.3.1

Describe the bug
When focus on input and we open shortcut panel through shift + ? shortcut there's no focus on the close button so we can't close it by hitting enter

Steps to reproduce the behavior

  • Click on the either input to open calendar
  • Press shift + ? shortcut to open shortcut panel
  • Note that there's no focus on the close button so we can't close that by hitting enter

Screenshots/Gifs
image
image

Is the issue reproducible in Storybook?
Yes, for example https://react-dates.github.io/react-dates/?path=/story/daterangepicker-drp--default

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