Go to ADE home.Accessibility in Distance Education
Go to UMUC Web site.
What is Accessibility Legal Issues Understanding Disabilities
This tab is selected: How-To.
Best Practices

Accessible Forms

3 of 4

Students Affected: Students who are blind. Students with mobility impairments.


Principles: Follow Web Standards, Degrade Gracefully



What it Means | How it Works | Testing Tips




What It Means

Web forms have many instructional applications. You can use them to poll students, gather homework assignments, or collect data. But a Web form can pose challenges for students using Link opens in new window.screen readers and other Link opens in new window.assistive technologies if it is not created with accessibility in mind.

If You Do It Wrong: Students who use screen readers or Braille displays cannot fill out the form because there are no Link opens in new window.HTML labels to indicate what information each field (box) should contain. A JavaScript-based form may be impossible to use if the assistive technology doesn't support JavaScript.

If You Do It Right: Each form field has a descriptive text label, so the screen reader user knows what information to enter. The form is still useful if JavaScript is disabled or unavailable.


How It Works

Create a label for every form field. The <label> tag can be used to associate text on the page with the appropriate <input>, <select>, or <textarea> tag. (The for attribute should match the id attribute. The name attribute is used for CGI form processing.)

Example
<label for="username">User Name:</label><input id="username" type="text" name="username">

Web Page Editor Instructions
Microsoft FrontPage:
Click the HTML tab in the bottom-left corner of the screen to open the FrontPage HTML editor. Then follow the instructions above.
Netscape Composer:
From the Tools drop-down menu, select HTML Tools, then Edit HTML Source... to open the Composer HTML editor. Then follow the instructions above.
Link opens in new window.Dreamweaver MX


Testing Tips

  1. Use an Link opens in new window.accessibility evaluator to make sure you've used <label> with each form control.

    More Info. The Wave and A-Prompt are free online accessibility evaluators.

  2. Disable JavaScript in your browser and test your forms.

  3. If possible, duplicate the client-side script with a server-side CGI script or program.

More Info. Visit these Web sites for more information about accessible forms:


Advanced Web Pages: Back to Language | Forward to Frames



Top of page

About this Site Site Map Glossary Contact Us Credits

© 1996-2005 University of Maryland University College • 3501 University Blvd. East, Adelphi, MD 20783 • USA
Phone: 800-888-UMUC (800-888-8682)