-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Calendar Month & Year select Aria-hidden bug #902
Comments
It's not consistent because it's more of a timing thing that chrome is freaking out about. We remove the This is an issue for Bits UI, so I'm going to move it there. |
Fortunately, Chrome is intelligent enough to block the Notes to myself for later: This is due to Adding buttons and such in the heading causes issues since the parent of focusable content is marked as I think we can more effectively mark specific parts of the heading as hidden, given they are not interactive, rather than the entire container. |
This is actually an issue on my end with the element ordering in |
Describe the bug
When opening a focusable component within the Calendar component header, an error will display in the browser console, about the ancestor (The calendar header) containing the "aria-hidden=true" prop but the child being focusable.
Reproduction
Can be reproduced on the shadcn-svelte docs site: https://shadcn-svelte.com/docs/components/calendar#month--year-selects
It's not super consistent, on both the docsl site and on my project that I encountered the bug in, but I can reproduce it consisently in my browser (tested on Arc, Chrome and Edge):
console
tabelements
tab (before interacting with calendar)If you have issuse with reproducing let me know and I will attach a video.
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: