@ariada/wcag-rules-extended
A TypeScript
axe-core
extension that ships rule packs for the European Accessibility
Act 2025. The package extends axe-core via the standard
axe.configure() API with
WCAG 2.2 AA
rules targeting EAA Annex I sectoral scope (e-commerce
checkout, banking digital channels, accessibility-statement pages)
and Nordic-language locales (sv / nb / da / fi). Licensed
EUPL-1.2.
Status: pre-release. The first tagged release publishes on npm once the EUPL-1.2 verbatim text and the IP-boundary CI guard land.
Install
pnpm add -D @ariada/wcag-rules-extended axe-core axe-core is a peer dependency — this package
does not bundle it.
Use
import axe from "axe-core";
import { addEaaRules } from "@ariada/wcag-rules-extended";
addEaaRules(axe);
const results = await axe.run();
A second option exposes the configuration preset directly so the
consumer can call axe.configure() on its own
instance. See the README for the full surface.
Scope
Every rule expression in this pack maps to one of:
- A published WCAG 2.2 Success Criterion
- A clause of EN 301 549 v3.2.1
- An EAA Annex I item (e-commerce checkout patterns, banking digital channels)
- A Swedish Lag (2018:1937) (DOS-lagen) requirement
The mapping table lives in the package README and is part of the public Commons — consumed by downstream auditors and by the accessibility-statement generator.
Links
- Source —
github.com/ariada-org/wcag-rules-extended(publishes with first release tag) - npm — @ariada/wcag-rules-extended
- License — EUPL-1.2