AccessibilityWCAGLegalFrontendSEO

Web accessibility and the European Accessibility Act: what your website must meet

Pablo Alcalde García

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:

PrincipleMeansExample
PerceivableIt can be perceivedAlt text, sufficient contrast
OperableIt can be usedKeyboard navigation, enough time
UnderstandableIt is understoodClear labels, explained errors
RobustCompatible with assistive technologiesValid, 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"> (and lang on fragments in another language).
  • A link to skip to the main content.

Images and non-text content

  • Descriptive alt on 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 outline without 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-motion for 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

  1. Automatic tools: Lighthouse, axe DevTools, WAVE. They detect some of the problems, not all.
  2. Manual keyboard test: navigate with only Tab, Shift+Tab, Enter and Esc.
  3. Screen reader: NVDA (Windows), VoiceOver (macOS/iOS), TalkBack (Android).
  4. Zoom and high contrast: enlarge to 200% and check.
  5. 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

  1. Audit the main templates (home, product page, cart, forms).
  2. Fix what blocks (keyboard, forms, contrast).
  3. Build accessibility into design and development (accessible components from the design system) instead of patching at the end.
  4. 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.

Call me now