Building accessible forms with WCAG 2.0
Recently I’ve been working on some forms that are a little more complicated and require a little more interactivity than your average blog comment or contact form.
Of course I wanted to make sure that using JavaScript to hide and display content and form controls as the user interacts with the forms wouldn’t cause accessibility problems. The user group I’m mostly concerned about in this context is screen reader users.
While doing some testing and research on this I came across Roger Hudson’s article Accessible Forms using WCAG 2.0, which proved to be very useful.
The article contains quite a few examples of how screen readers interact with forms. The JavaScript-specific examples are displaying form validation error messages, dynamically populating select elements, and showing and hiding form sections. These examples are accompanied by videos showing a screen reader user interacting with the forms. Throughout the article, relevant WCAG 2.0 Success Criteria are referenced.
This is recommended reading, especially if you use JavaScript to make forms more interactive.
- Previous post: The mysterious sideways jump, a.k.a. scrollbar present or not present
- Next post: W3C online course: An Introduction to W3C’s Mobile Web Best Practices
Comments are disabled for this post (read why), but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.
Subscribe / follow
Sponsors
Authentic Jobs
- WordPress Developer at Maskar Design (Philadelphia, PA, Pe, US)
- Web & Print Designer at Dance of the Deer Foundation (Santa Cruz, CA, Ca, US)
- User Experience Architect for Crimson at The Advisory Board Company - Crimson (Austin, TX, Te, US)
- WEB DEVELOPER at BEACON HEALTH SYSTEM (BEACON HEALTH SYSTEM-SOUTH BEND, INDIANA, In, US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost

