Web accessibility and the European Accessibility Act: what your website must meet
Web accessibility has stopped being “something nice to do” and has become, in many cases, a legal obligation. The European Accessibility Act (EAA), Directive (EU) 2019/882, has applied since 28 June 2025 to certain products and services, and directly affects many websites and online stores. This article summarises what you need to know and do. Note: it is a general technical guide, not legal advice; consult a professional on how it affects you in your case and country.
Who it affects (broadly)
The directive focuses on commonly used products and services. Services included are, among others:
- E-commerce (online stores).
- Consumer banking services.
- Electronic communications services and access to audiovisual media.
- E-books and their platforms.
- Passenger transport services (booking and ticketing sites and apps).
There are exceptions, for example for microenterprises providing services (with specific conditions). The details and penalties depend on national transposition, so check how it applies to your activity.
What technical level is expected
The usual technical reference is the European standard EN 301 549, which incorporates the WCAG 2.1 level AA guidelines. In other words, WCAG 2.1 AA is the practical bar to aim for.
WCAG is organised around four principles, known as POUR:
| Principle | Means | Example |
|---|---|---|
| Perceivable | It can be perceived | Alt text, sufficient contrast |
| Operable | It can be used | Keyboard navigation, enough time |
| Understandable | It is understood | Clear labels, explained errors |
| Robust | Compatible with assistive technologies | Valid, semantic HTML |
Practical checklist for your site
Structure and semantics
- A single
<h1>and a logical heading hierarchy (h2,h3…). - Use the right HTML elements:
<button>for actions,<a>for navigating,<nav>,<main>,<header>,<footer>. - Declared language:
<html lang="en">(andlangon fragments in another language). - A link to skip to the main content.
Images and non-text content
- Descriptive
alton informative images;alt=""on decorative ones. - Video with captions; audio with a transcript.
Colour and legibility
- Minimum text contrast of 4.5:1 (3:1 for large text).
- Don’t convey information by colour alone.
- Text can be enlarged to 200% without losing content or functionality.
Keyboard and focus
- Everything is operable by keyboard alone, in a logical order.
- Visible focus always (don’t remove
outlinewithout replacing it). - No keyboard traps (modals that can’t be closed).
Forms
- Every field with an associated
<label>(for/id). - Errors described in text and associated with the field (
aria-describedby). - Clearly indicate required fields.
Dynamic content and ARIA
- Important changes are announced (
aria-live) with judgement. - Use ARIA only when native HTML isn’t enough: “no ARIA is better than bad ARIA”.
- Respect
prefers-reduced-motionfor animations (View Transitions).
Example: an accessible button
<!-- Bad: a div is not keyboard-operable nor announced by the screen reader -->
<div class="button" onclick="send()">Send</div>
<!-- Good: native semantics, keyboard and role included -->
<button type="button" class="button" onclick="send()">Send</button>
And a form field with an associated error:
<label for="email">Email address *</label>
<input id="email" type="email" required aria-describedby="email-error" aria-invalid="true">
<p id="email-error">Enter a valid email, for example name@domain.com.</p>
How to audit
- Automatic tools: Lighthouse, axe DevTools, WAVE. They detect some of the problems, not all.
- Manual keyboard test: navigate with only
Tab,Shift+Tab,EnterandEsc. - Screen reader: NVDA (Windows), VoiceOver (macOS/iOS), TalkBack (Android).
- Zoom and high contrast: enlarge to 200% and check.
- Include real users when possible.
Accessibility statement
Many regulations expect you to publish an accessibility statement (compliance status, known limitations and a contact route to report problems). Check what is required in your case.
Accessibility and SEO go hand in hand
It is no coincidence that much of the above also improves rankings: semantic HTML, alt text, clear headings, performance. It is the same work I describe in technical SEO and on-page SEO. And it improves the experience for everyone.
Where to start
- Audit the main templates (home, product page, cart, forms).
- Fix what blocks (keyboard, forms, contrast).
- Build accessibility into design and development (accessible components from the design system) instead of patching at the end.
- Add automatic checks to CI.
Conclusion
Accessibility is at once a growing obligation, a real improvement for many people and a quality advantage. Aim for WCAG 2.1 AA, start with what has the most impact and build with accessible components from the beginning.
If you need to adapt your website or online store, let’s talk.