Learn to make your JavaScript accessible

'You're only supposed to blow the bloody doors off!' were the immortal words from Charlie Crocker (aka Michael Caine) in The Italian Job. They also form the title of web accessibility engineer Léonie Watson's upcoming talk at Generate London. But what do they have to do with JavaScript? More than you might think...

It is often said that JavaScript makes things inaccessible with a screen reader. This is not true, though. It is possible to do good and bad things with JavaScript (as with any other language – and, indeed, as with dynamite). But it helps if you understand accessibility mechanics in the browser if you want to avoid unexpected consequences (like rendering creations inaccessible – or blowing the whole vehicle up).

If you have ever used JavaScript to provide keyboard shortcuts, or used the ARIA application role to enable accessible software UI interactions on the web, there is a good chance it had unintended consequences for screen reader users.

When Watson, accessibility engineer at The Paciello Group, speaks at Generate London (opens in new tab) next week, she will be using code examples and screen reader demos.  She will take a look at accessibility mechanics in the browser, the new Accessibility Object Model (AOM) JavaScript API, and how to use JavaScript so that you only blow the doors off.

Make sure you grab your Generate ticket now (opens in new tab) before they sell out!

Thank you for reading 5 articles this month* Join now for unlimited access

Enjoy your first month for just £1 / $1 / €1

*Read 5 free articles per month without a subscription

Join now for unlimited access

Try first month for just £1 / $1 / €1

Steven Jenkins is a freelance content creator who has worked in the creative industry for over 20 years. The web and design are in his blood. He started out as a web designer before becoming the editor of Web Designer magazine and later net magazine. Loud guitars, AFC Bournemouth, Photoshop, CSS, and trying to save the world take up the rest of this time.