How to add a label tag to a form element. This makes your form element such as an input field accessible and a little more user-friendly.
Sample code:
How to add a label tag to a form element. This makes your form element such as an input field accessible and a little more user-friendly.
Sample code:
3 replies on “Accessible Form Elements”
Editor’s Note: For longer forms, or for stricter accessibility requirements, use the FIELDSET, LEGEND and ACCESSKEY techniques.
Fieldsets (with Legends) totally rock! Accesskeys are much needed but I think are hard to generate with form-generator apps, but my Dreamweaver does a really good job when I’ve completed my form design.
Thanks for that tip. The information you provided would help me a lot on my future projects.