-
Notifications
You must be signed in to change notification settings - Fork 290
fix: various accessibility fixes #5399
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8251119 to
7ef7d90
Compare
| ref: MutableRefObject<HTMLLabelElement>, | ||
| ): ReactElement { | ||
| return ( | ||
| // eslint-disable-next-line jsx-a11y/label-has-associated-control |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to be working properly. It should not give us an error if the input is a child of the label, but it does.
I removed the htmlfor on the label element because having the label be the parent + setting the htmlfor manually creates double labeling
Changes
Various fixes for accessibility. Noticed I had a gazillion errors on my profile page:
So took it upon myself to fix them
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Preview domain
https://eng-474.preview.app.daily.dev