5 ms·
Yikes. These generated forms are a semantic markup and accessibility nightmare. No legend or labels to be found. If you find yourself writing forms like this, p
by didgeoridoo 14y ago
Yikes. These generated forms are a semantic markup and accessibility nightmare. No legend or labels to be found. If you find yourself writing forms like this, please please seek out some resources[0] on how to approach them properly.
[0]http://www.gethifi.com/blog/html-forms-the-right-ways http://www.gethifi.com/blog/html-forms-the-right-ways
- jasonkostempski 14y agoIsn't 'for' supposed to reference the 'id' of an input? All these examples reference 'name'.
- ZoFreX 14y agoYes, you are correct [1] - it's a very common mistake in my experience. [1]: https://developer.mozilla.org/en-US/docs/HTML/Element/label https://developer.mozilla.org/en-US/docs/HTML/Element/label