-
Notifications
You must be signed in to change notification settings - Fork 794
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
[Label] ARIA issue detected by Lighthouse #638
Comments
We are aware that Here's the results of our testing: alt: https://discord.com/channels/752614004387610674/803656831704629298/816758848865435698 You might improve your lighthouse score if you use native |
Hi, thanks for the explanation, I appreciate your thoroughness! That's been my hesitation with 3rd party component libraries, on the surface they're great, but they end up causing more trouble then they are worth with a lack of attention to detail. Also, it might be helpful to add that explanation to the docs for the next person. A couple of follow up questions: Have you tested it with touch device screen readers for users navigating by touch? I'm use the Radix Checkbox and Label together, I'm curious what the tradeoffs are of the Radix approach ( Also, I initially tried using a regular |
My pleasure 🙂 and good idea on the docs. You're not the first person to question this so definitely seems it would useful.
Yes, with VoiceOver only atm.
There are no tradeoffs as far as I am aware, but with the Our
I'm sure there were other reasons but I can't think of them all off the top of my head, it was a while ago 😅 but hopefully that helps gather some understanding of how we ended up where we are.
This is an issue when clicking the indicator. We are aware of it but haven't had a chance to look into it yet. Original bug report is here #512 |
Hi @jjenzz, thanks for explaining why you chose the One tradeoff might be #609. It seems like there's some complex wiring of events that requires not using the React event system, so calling I'm going to close this issue because the Lighthouse ARIA tests should indicate real world accessibility performance, and clearly that is not the case. If possible it might be worth it to try and get |
I think the bugs reported are probably most likely due to some dodgy code on my part that needs fixing. I would be surprised if it has anything to do with the fact we use a |
@rafgraph you might be interested in the new changes I'm working on here #672 I'm hoping to apply similar changes across our other components like These changes improve the native |
Bug report
Hi, I'm using the
<Label>
component on my site and Google's Lighthouse detected an ARIA issue with it. I wasn't sure if it is how I'm using it or intrinsic to the component itself, so I ran Lighthouse on the docs page for<Label>
and got the same result.Current Behavior
Lighthouse detects an ARIA issue with
<Label>
.Expected behavior
<Label>
should pass all Lighthouse ARIA tests.Reproducible example
Run Lighthouse on the docs page: https://radix-ui.com/primitives/docs/utilities/label
Additional context
The text was updated successfully, but these errors were encountered: