Skip to content
PreviewFix
Accessibility, e-invoicing & product passports8 min readReviewed

Preparing e-commerce storefronts for WCAG 2.2 and the EAA.

What Directive (EU) 2019/882 requires for consumer e-commerce services, which WCAG 2.2 Level A/AA failures headless Chromium + axe-core catches deterministically, and which assistive-technology criteria still require human testing.

  • Directive (EU) 2019/882
  • EN 301 549
  • WCAG 2.2 AA
  • axe-core

Key engineering takeaways

Summary
  • Directive (EU) 2019/882 (the European Accessibility Act) applies to covered consumer e-commerce services offered into the EU from 28 June 2025, with microenterprise exemptions for services (< 10 staff and <= €2m turnover/balance sheet).
  • Running axe-core inside a real headless Chromium viewport catches rendered contrast, missing labels, broken ARIA references and tap-target regressions that static HTML linters miss.
  • Automated rules cannot certify legal compliance: keyboard trap nuances inside custom drawers, alt-text accuracy and screen-reader announcement flow always require manual verification.
  • Fixing shared theme partials (header search, product variant pickers, cart drawer and checkout inputs) eliminates the majority of repeated template violations in one diff.

Published by MeWeBe Limited · Factual engineering reference

1. How Directive (EU) 2019/882 maps to technical web standards

The European Accessibility Act (Directive (EU) 2019/882), transposed into Member State national laws (such as Germany's Barrierefreiheitsstärkungsgesetz — BFSG), sets functional accessibility requirements for covered products and consumer services — explicitly including e-commerce websites and mobile applications selling to EU consumers — from 28 June 2025. Service providers qualifying as microenterprises (fewer than 10 persons employed and annual turnover or balance sheet total not exceeding EUR 2 million) are exempt from the service obligations under Article 4(5), though voluntary conformance still improves checkout conversion and UK Equality Act 2010 / US ADA posture.

Technically, European harmonised standard EN 301 549 provides the presumption-of-conformity baseline for web and software interfaces, historically mapping to WCAG 2.1 Level AA while undergoing revision under European Commission standardisation mandate M/587 to align with WCAG 2.2. Targeting WCAG 2.2 Level A and Level AA now satisfies all WCAG 2.1 AA criteria plus the six additional Level A/AA criteria introduced in WCAG 2.2.

2. Six WCAG 2.2 Level A/AA additions that trip e-commerce themes

Modern Shopify, WooCommerce, Shopware and headless React storefronts routinely pass basic HTML validation yet fail WCAG 2.2 AA on interactive shopping components — sticky cookie/announcement bars, colour-swatch selectors, slide-out cart drawers and passwordless/2FA login modals:

  • 2.4.11 Focus Not Obscured (Minimum) — AA: When a shopper tabs through product cards or footer links, sticky headers, floating chat widgets and cookie banners must not completely hide the focused element (scroll-padding-top and proper modal focus trapping prevent this).
  • 2.5.7 Dragging Movements — AA: Price-range sliders and image-comparison scrubbers must provide a single-pointer non-dragging alternative such as numeric min/max inputs or step buttons.
  • 2.5.8 Target Size (Minimum) — AA: Interactive controls (pagination dots, swatch pills, quantity +/- buttons, close icons) need at least a 24 × 24 CSS pixel area or sufficient spacing so adjacent targets do not intersect a 24px circle.
  • 3.2.6 Consistent Help — A: If contact details, support links or FAQ links appear across multiple pages, they must occur in the same relative DOM/visual order.
  • 3.3.7 Redundant Entry — A: Multi-step checkouts must auto-populate or let buyers select previously entered billing/shipping addresses rather than forcing manual re-typing.
  • 3.3.8 Accessible Authentication (Minimum) — AA: Sign-in and account verification flows must not block password managers (paste disabled on password/OTP inputs) or impose cognitive puzzle tests without an accessible alternative.

3. What headless Chromium + axe-core catches vs what needs a human

Static source-code scanners cannot compute CSS cascade contrast over background gradients, responsive mobile breakpoints or client-hydrated drawers. Our wcag.scan engine loads the live URL in headless Chromium at desktop and mobile viewports and runs axe-core against the rendered DOM and computed styles.

Honest engineering requires stating the exact boundary of automated testing. No automated engine can certify statutory compliance under the EAA, the UK Equality Act 2010 or the US ADA:

Typical storefront Liquid/HTML remediation diff (swatch & drawer controls)Specimen
<!-- Before: unlabelled icon button & undersized 16x16px colour swatch -->
<button class="cart-close" onclick="closeCart()"><svg viewBox="0 0 16 16">...</svg></button>
<div class="swatch" data-colour="navy" onclick="pick('navy')"></div>

<!-- After: accessible name, native button keyboard semantics & >=24x24px target -->
<button type="button" class="cart-close min-h-6 min-w-6" aria-label="Close shopping bag">
  <svg aria-hidden="true" viewBox="0 0 16 16">...</svg>
</button>
<button
  type="button"
  class="swatch inline-flex min-h-6 min-w-6 items-center justify-center"
  aria-pressed="true"
  aria-label="Colour: Navy"
>
  <span aria-hidden="true" class="size-4 rounded-full border"></span>
</button>

4. Publishing an honest accessibility statement

Annex V of Directive (EU) 2019/882 requires covered service providers to publish information in their general terms or an accessibility statement explaining how the service meets applicable accessibility requirements, in written and oral/screen-reader-accessible formats. Our wcag.statement operation drafts a structured HTML and Markdown statement listing what was tested, the evaluation date, known third-party widget limitations (for example embedded payment iframes or map embeds), and a dedicated feedback email so users with disabilities can request alternatives or report barriers.

SPEC · WCAG-EAA-22 · Reviewed 18 November 2026

Automated vs manual WCAG 2.2 AA verification matrix

How programmatic Chromium audits pair with human keyboard and screen-reader checks

Engineering checklist
Check areaWCAG criterionHeadless axe-coreRequired manual follow-up
Text contrast on solid surfaces1.4.3 Contrast (Minimum)Deterministic (4.5:1 / 3:1 large text)Automated + gradient check
Form labels, button names & ARIA roles1.3.1, 4.1.2 Name, Role, ValueDeterministic missing-name detectionAutomated
Pointer target size & spacing2.5.8 Target Size (Minimum)Bounding-box geometry check (24×24px)Automated on live viewport
Product image alt-text accuracy1.1.1 Non-text ContentCatches missing alt, not wrong descriptionsHuman / vision review
Cart drawer focus trap & live announcements2.1.2, 2.4.3, 2.4.11, 4.1.3Partial DOM check; dynamic state needs replayKeyboard + NVDA/VoiceOver

5-minute manual keyboard smoke test after applying code patches

  • Unplug or ignore the mouse and complete Home → Category → Product variant → Add to bag → Checkout using only Tab, Shift+Tab, Enter, Space and arrow keys.
  • Confirm the visible focus ring (:focus-visible) is never hidden behind sticky headers or cookie bars.
  • Press Escape inside every open modal, search overlay and cart drawer and verify focus returns to the trigger button.
  • Zoom the browser to 200% at 1280px width (and test 320px CSS reflow) to confirm zero clipped controls or horizontal text loss.

Automated audits test programmatic WCAG 2.2 Level A/AA rules on rendered pages; they do not constitute legal advice or statutory conformity certification.

Technical questions

Common edge cases & boundaries

Do accessibility overlay toolbars satisfy the European Accessibility Act?
Client-side overlay widgets rarely fix underlying DOM semantics, keyboard traps in custom theme JavaScript or unlabelled checkout controls, and European disability organisations and authorities advise fixing the source HTML/CSS/ARIA directly.
Does a UK-based or US-based merchant need to care about the EAA?
Directive (EU) 2019/882 applies based on offering covered consumer e-commerce services to consumers in the European Union, regardless of where the merchant's headquarters are registered (subject to the microenterprise exemption for services).
How many templates should we scan on an e-commerce site?
Scanning at least five distinct templates — home page, collection/filter page, product detail page, open cart/bag view and contact/help page — captures almost all shared storefront components.

Run on your own input

Paired services & previews.

Every digital deliverable starts with a free preview on your own file, URL or domain; managed services lock your quote upfront and hold supplier payout until completion proof clears.

Continue reading

Related technical guides.

7 min read

Omnibus 30-day prior price & VIES VAT

How to compute the lowest price applied during the preceding 30 days under Directive (EU) 2019/2161 (Article 6a) in integer minor units, avoid fake strikethrough RRP traps, and validate EU/NI B2B VAT numbers via VIES.

7 min read

llms.txt & @id-linked JSON-LD for AI search

How the llmstxt.org specification works in strict validators, how robots.txt rules govern AI retrieval vs training bots, and how to link Organization, WebSite, Service, Product and Article JSON-LD nodes via @id without inventing facts.

8 min read

BYOK vs prepaid credits: micro-API & licences

How our 25 HTTP engine endpoints separate zero-LLM deterministic checks from optional AI operations, how Bring-Your-Own-Key (BYOK) vs prepaid credits prevent surprise overage bills, and how AKL1 Ed25519 tokens verify offline.

Test before checkout

Inspect a free preview first.

Run our deterministic checks or live quote tool on your own file, URL, domain or postcode before paying a penny.