How to Write Accessible JavaScript

Ben Robertson
Oct 9, 2017 · 12 min read

You’re wrapping up a web project and just as you’re putting the finishing touches you get sent a list of accessibility errors forwarded to you by your project manager. Inadequate color contrast. Missing alt tags. This interactive component needs to be keyboard accessible.

We might not like to admit it but we’ve all been there: at the end of a project trying to reverse engineer accessibility into our…