What is web accessibility? | web axe [at gmail] NOSPAM! dot com
Sunday, September 25, 2005
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.<form>
<label for="txtEmail">Your email:</label>
<input type="text" name="txtEmail" id="txtEmail"/>
</form>Labels: accessibility, code, element, form, input, label, podcast, web
web design | create a website | Website Templates | UK Web Hosting | Search Engine Optimization | search engine optimisation | web hosting | Cheap Domain Names
Add yourself to the Web Accessibility Enthusiasts mapper
Dennis Lembree is the founder of web development company Web Overhauls, which specializes in web usability, standards, and accessibility.
Ross Johnson runs a web design company (3.7 Designs) that takes a wholistic view on the web and art of constructing pages. They strive to be creative and unique.
3 Comments:
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.
Post a Comment
<< Home