European Accessibility Act
EAA compliance for React: WCAG 2.1 AA checklist & fixes
React itself is accessibility-neutral — your component patterns decide compliance. Most React-specific WCAG failures come from custom components (modals, tabs, comboboxes) that re-implement keyboard behavior incorrectly, and SPAs that never announce route changes to assistive tech. The most-used UI library; the foundation of Next.js, Remix, and most modern SPAs.
- Category
- Web framework
- Standard
- WCAG 2.1 Level AA via EN 301 549
- Deadline
- 28 June 2025 (EU consumer services)
- Risk for B2C
- High — public-facing, consumer-billed
What the EAA actually requires from a React site
The European Accessibility Act (Directive 2019/882) applies to consumer-facing online services from 28 June 2025. For a React site selling to EU consumers, that means the storefront, checkout, account area, and any embedded payment flow have to meet WCAG 2.1 Level AA via the harmonised standard EN 301 549. Microenterprises with under 10 employees and below €2 million in turnover are exempt for services, but not for products.
Fines vary by member state. Germany caps individual penalties at €100,000; France can fine up to 4% of group turnover; Spain reaches €600,000 for serious or repeated breaches. None of those numbers are theoretical — market surveillance authorities have already started auditing storefronts in Germany and France in the run-up to enforcement.
In practice, the work breaks down into three buckets: theme-level fixes (focus styles, contrast, semantics), interaction-level fixes (carousels, modals, drawers, gallery widgets), and content-level fixes (alt text, headings, descriptive link text). The list below covers the React-specific failure points we see most often during scans.
Top WCAG failures we see on React sites
Across hundreds of React scans, the same handful of issues show up over and over. None of them require ripping the theme apart — most are fixable in a few hours by someone comfortable in the platform's editor or template files.
Custom modals without focus trap or restore
Hand-rolled <div> modals usually skip Tab cycling and never restore focus to the trigger. Use a vetted library (Radix, React Aria, Headless UI).
2.4.3, 2.1.2 — Level AClick-only ARIA roles
role="button" on a <div> needs onKeyDown for Enter and Space. Most teams forget the keyboard half.
2.1.1, 4.1.2 — Level ASPA route changes are silent
react-router and react-navigation do not notify assistive tech when the URL changes.
4.1.3 — Level AA
Concrete code fixes for React
Below are copy-paste fixes for the most common React issues. They assume you have access to your theme code or the platform's custom-code injection panel. If you cannot edit code directly, share these snippets with whoever maintains the site — every one of them is a ten-minute change.
Use a primitives library instead of hand-rolled modals
import * as Dialog from '@radix-ui/react-dialog';
export function MyModal() {
return (
<Dialog.Root>
<Dialog.Trigger>Open</Dialog.Trigger>
<Dialog.Portal>
<Dialog.Overlay />
<Dialog.Content>
<Dialog.Title>Title</Dialog.Title>
<Dialog.Close>Close</Dialog.Close>
</Dialog.Content>
</Dialog.Portal>
</Dialog.Root>
);
}Radix, React Aria, and Headless UI ship with focus trap, Esc handling, and ARIA roles. Free accessibility wins, no implementation cost.
Tools and plugins worth installing first
eslint-plugin-jsx-a11y
@axe-core/react in development
Storybook a11y addon for per-component checks
How to scan a React site without missing anything
Automated scanners catch about 30–40% of WCAG issues; the rest need manual review. The good news is that the 30–40% includes the most expensive issues to remediate after the fact, so an automated scan is the cheapest way to get unstuck. Run one before you change a line of theme code.
Run scans against the production bundle, not development. Hot reload can mask issues.
Run a free public scan against any React URL right now — no signup, results in 60 seconds.
Frequently asked questions
Do I need React Aria specifically?
Any vetted primitives library will do. The point is not to re-implement focus management and ARIA from scratch.
Other web framework platforms
EAA compliance for Next.js
The dominant React meta-framework for production sites; chosen by Stripe, Notion, TikTok,
EAA compliance for Vue.js
Top 3 frontend framework; common in SMB and education sites across Europe.
EAA compliance for Angular
Enterprise default in many EU public-sector portals; subject to EAA and EN 301 549.
EAA compliance for Astro
Fast-growing meta-framework for content-heavy sites.
Find every accessibility issue on your site in 60 seconds.
Free public scan. No card. AI-generated fixes for every issue we find.