Perceivable: Users must be able to see and hear the information on the website
Operable: Users must be able to use everything on the website with a keyboard
Understandable: Users must be able to understand and use the website
Robust: The website should support as many browsers and screen readers as possible
There’s a fifth principle that WCAG failed to mention:
Principle Number 5: Reduce Annoyance. Your content should annoy people as little as possible.
Take these principles into consideration as you build components. They’ll help you make your sites more accessible.
Accessibility and JavaScript
When it comes to JavaScript, what we’re interested in is people who are visually impaired and need to use screen readers. For this reason, we’ll put our focus on screen readers for the entire module.