Chapter 6 of 10All chapters
Chapter 6 of 10
Accessibility
Making it work for everyone.
The basics that cover most of it
Real elements, text alternatives for images, labels on form fields, sufficient colour contrast and a visible focus indicator. Those five cover the majority of real barriers.
- Try the page with only the keyboard. If you cannot reach something, neither can many users.
- Never remove focus outlines without replacing them with something visible.
ARIA last
ARIA attributes describe behaviour that HTML cannot express. The first rule of ARIA is not to use it when a native element would do the same job correctly.