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

Associate labels with inputs #42

Open
oliverjam opened this issue Dec 6, 2019 · 0 comments
Open

Associate labels with inputs #42

oliverjam opened this issue Dec 6, 2019 · 0 comments

Comments

@oliverjam
Copy link

All your label elements should be associated with an input using the for attribute. This needs to contain the ID of the matching input—you have some labels with for set, but the values aren't right.

If you do this it will improve the UX as well as the accessibility, since it makes clicking the label trigger the input. This is nice for the radios as you will be able to click the whole image to toggle them instead of having to hit the tiny radio circle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant