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

Cannot tab to form submit element or use enter to select month on alternate month picker #1436

Open
morremeyer opened this issue Jan 1, 2024 · 0 comments
Labels
bug Something isn't working as supposed to

Comments

@morremeyer
Copy link
Member

morremeyer commented Jan 1, 2024

Describe the bug
In the month selector on browsers that do not support input type month, the user cannot select a month with the keyboard.

This is due to the form submit element not being tabbable nor the form being submittable by pressing the enter key.

To Reproduce
You need to use a browser that does not support month pickers, e.g. Firefox, to replicate this.

  1. Set your frontend to dark mode
  2. Go to "Home"
  3. Click the calendar symbol in the top bar
  4. Try to change the month without using your mouse or trackpad

Expected behavior
The month picker should support:

  • Tabbing to the submit element of the form
  • Pressing enter to submit

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Firefox

Additional context

This also applies to the "Go to current month" link

@morremeyer morremeyer added the bug Something isn't working as supposed to label Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as supposed to
Projects
None yet
Development

No branches or pull requests

1 participant