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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: With numberOfMonths >= 2 and, when tabbing from the Prev navigation button, it goes to the calendar instead of the Next navigation button #1756

Open
euljr opened this issue Apr 12, 2023 · 1 comment
Labels
accessibility Bug Bug or Bug fixes
Milestone

Comments

@euljr
Copy link

euljr commented Apr 12, 2023

Bug description

Hello 馃憢

I found a weird behavior when tabbing through elements when there are multiple months, when tabbing from one navigation button, it doesn't focus on the next navigation button, instead, the focus goes to the calendar.

I guess this happens because the captions are inside each month container 馃.

I'll get some time to learn the codebase, in case there isn't a fix before, I'll see if I can help with something other than opening this issue 馃槃

To reproduce

Fork this CodeSandbox: https://codesandbox.io/s/intelligent-sunset-z6ypid with the code to reproduce the issue.

Steps

  1. Focus Prev navigation button (<)
  2. Press Tab
  3. The focus is now on the calendar, and not the caption navigation

Expected behavior

When focused on the Prev navigation button, it should focus on the Next navigation button after pressing Tab.

Screenshots

output

@euljr euljr added the Bug Bug or Bug fixes label Apr 12, 2023
@gpbl gpbl added the In Progress Work in Progress label Apr 13, 2023
@gpbl
Copy link
Owner

gpbl commented Apr 13, 2023

@euljr Thanks for the bug report. Will work on it!

@gpbl gpbl added this to the v9 milestone Apr 14, 2023
@gpbl gpbl added accessibility and removed In Progress Work in Progress labels Apr 14, 2023
@euljr euljr changed the title Bug: With numberOfMonths > 2 and, when tabbing from the Prev navigation button, it goes to the calendar instead of the Next navigation button Bug: With numberOfMonths >= 2 and, when tabbing from the Prev navigation button, it goes to the calendar instead of the Next navigation button Apr 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Bug Bug or Bug fixes
Projects
Status: To Do
Development

No branches or pull requests

2 participants