This is part seven of a series that begins here: Designing for Accessibility.
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.
- Call out semantic structures such as links and buttons. (I can’t count the number of times I’ve seen developers use some other tag with an “onclick” event on it instead of a link.)
- Don’t disable the submit button for forms pending client-side validation of some field in the form.
- Even if you’re doing client-side validation, do server-side validation anyway.
There is also a lot to be said for designing for the simplest experience first and building on that — you may find that you don’t actually need the fancy stuff.
Up next, the conclusion of this series!