fac18 / week6-coda-squall

https://coda-squall.herokuapp.com/
0 stars 0 forks source link

Associate labels with inputs #42

Open oliverjam opened 4 years ago

oliverjam commented 4 years ago

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.