Accessibility and Usability in Forms Outline
I gave a talk today called Form Accessibility & Usability here's the outline.
- No master formula
- Improved user experience
- More conversions (success)
- Over 50% shopping carts abandoned?
- Software that is usable by people with handicaps (for the web typically poor vision, color blindness)
- Section 508 Compatibility - Federal Rehabilitation Act
- You may be required legally
- Nearly 10% color blind
- 3% Blind or Visually Impaired
"A text equivalent for every non-text element shall be provided"
"Web pages shall be designed so that all information conveyed with color is also available without color, for example from context or markup."
"Documents shall be organized so they are readable without requiring an associated style sheet."
Show web pages with CSS turned off
"Row and column headers shall be identified for data tables."
"When electronic forms are designed to be completed on-line, the form shall allow people using assistive technology to access the information, field elements, and functionality required for completion and submission of the form, including all directions and cues."
label tag and
"When pages utilize scripting languages to display content, or to create interface elements, the information provided by the script shall be identified with functional text that can be read by assistive technology."
"A text-only page, with equivalent information or functionality, shall be provided to make a web site comply with the provisions of this part, when compliance cannot be accomplished in any other way. The content of the text-only page shall be updated whenever the primary page changes."
If impossible to comply make a text only page - but only if impossible.
"Frames shall be titled with text that facilitates frame identification and navigation."
"Pages shall be designed to avoid causing the screen to flicker with a frequency greater than 2 Hz and lower than 55 Hz."
"When a web page requires that an applet, plug-in or other application be present on the client system to interpret page content, the page must provide a link to a plug-in or applet that complies with section 1194.21(a) through (l)."
Demo VoiceOver on mac (hit command F5)
Example of a Accessible Form
<form action="" method="post"> <fieldset> <legend>Please Login Below</legend> <label for="email" accesskey="E">Email:</label> <input type="text" name="email" id="email" tabindex="1" /> <br /> <label for="password" accesskey="P">Password:</label> <input type="password" name="password" id="password" tabindex="2" /> <br /> <input type="submit" value="login" tabindex="3" accesskey="S"> </fieldset> </form>
Start with Accessibility
Forms should have smart backends on the server side that can parse and extract info. Examples:
- 30 Boxes Calendar - add an event in one text box.
- Indeed - seach for jobs with two boxes (no box for city, state, zip, title, position, company, etc)
- Events Search
The 5 second test.
Other usability tips.
Make Friendly URLs.
- Target Sued over Accessibility - September 11, 2006
- Howto Build a Form That Isn't Annoying (Part 2) - May 3, 2006
- Styling Your forms with CSS and Labels - January 11, 2006
- Howto build a form that isn't annoying (Part 1) - January 11, 2006
- Keep in mind that users don't read - August 15, 2005
- SameSite Cookies with IIS
- Facebook API Now Requires Review for user_friends Permission
- Docker Container exited with code 137
- Why is my cron.daily script not running?
- Announcing FuseGuard Version 3
- CFSummit 2017
- Java Unlimited Strength Crypto Policy for Java 9 or 1.8.0_151
- Java 9 Security Enhancements