ariada.org

@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:

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.