Web accessibility
How to build a website that everyone can use – including people with a screen reader, with enlarged text or with only a keyboard. The series covers the requirements of WCAG 2.2 and EU law, page structure, alternative text, forms, keyboard control, ARIA and testing. The examples passed a validator and the axe-core tool and their behavior is verified in the Chrome, Firefox and Safari browsers (the WebKit engine).
An accessible website can be used even by someone who cannot see, sees poorly, cannot hear or does not use a mouse. What that means in practice, how the WCAG 2.2 guidelines are built and who the EU rules apply to – public sector bodies and online shops.
A screen reader can jump between the headings and regions of a page – if the page has them. How to build the skeleton of a page from language, headings and landmarks, add a skip to content link and when to hide text for screen readers only.
An image without a description is an empty space for a blind person, and an icon button without a name is just a “button”. How to write good alternative text, when to leave it empty, how to name icons and SVG and what not to forget with video and animations.
A form is where a website makes money – an order, a registration, an inquiry. And at the same time the place where people with a screen reader or a keyboard most often get stuck. How to label fields, mark the required ones, announce an error and make filling in easier.
Everything that can be done with a mouse must also be possible with a keyboard. How focus moves around a page, why not to use a positive tabindex, how to make focus visible so that it does not disappear under a sticky header, and how to open and close a dialog properly.
ARIA tells screen readers what HTML alone does not – whether a menu is expanded, which tab is selected or that a message has appeared. When to use it, how to build a dropdown menu and tabs and why bad ARIA is worse than none.
An automated tool finds missing labels or low contrast within seconds – but only some of the problems. How to calculate contrast, check a page with axe-core and Lighthouse, include the check in automated tests and what to go through by hand and with a screen reader.