# WCAG 2.2 & EU EAA Accessibility Auditor (EN 301 549) (`sadis/wcag-eaa-accessibility-auditor`) Actor

Run batch WCAG 2.1/2.2 AA, European Accessibility Act (EAA / EN 301 549), and ADA audits with real Chrome + axe-core. Outputs severity scores, CSS selectors, HTML snippets, Markdown & CSV reports.

- **URL**: https://apify.com/sadis/wcag-eaa-accessibility-auditor.md
- **Developed by:** [Cipiwon Daisuki](https://apify.com/sadis) (community)
- **Categories:** Developer tools, Automation, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 page auditeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## WCAG 2.2 & EU EAA Accessibility Auditor (`EN 301 549`)

Run automated **WCAG 2.1 / 2.2 AA**, **European Accessibility Act (`EAA` / `EN 301 549`)**, and **ADA compliance audits** across multiple pages in a single batch using real Chromium rendering and the W3C-aligned `axe-core` engine — **5x more affordable (`$0.05/page`) than `$0.25/audit` alternatives**.

Designed for web agencies, Shopify/WordPress maintainers, SaaS QA engineers, and compliance teams searching for **`a11y wcag`**, **`wcag accessibility checker`**, **`eaa compliance audit`**, **`en 301 549`**, and **`ada compliance`**.

***

### Why Use This Actor?

- **🌐 Real Chromium DOM + Computed CSS Rendering:** Uses Playwright Chrome so color contrast, ARIA states, landmarks, focus visibility, and dynamic JS components are checked accurately.
- **🇪🇺 Built-in `EN 301 549` Reference Mapping:** Automatically maps failing rules (e.g., `wcag111`, `wcag143`) to `EN 301 549 §9.x.x.x` clauses for EU EAA audit documentation.
- **🛠️ Developer-Ready Remediation Details:** Every violation includes impact severity (`critical`, `serious`, `moderate`, `minor`), exact CSS selectors, failing HTML snippets, and Deque fix hints.
- **📑 Client-Ready Exports (`SUMMARY.json`, `EAA_REPORT.md`, `EAA_VIOLATIONS.csv`):** Share reports immediately with clients or import into Jira/GitHub Issues.

***

### Input Example ("Try Me" Default)

```json
{
  "startUrl": "https://example.com",
  "maxPages": 5,
  "wcagStandard": "wcag22aa",
  "includeBestPractices": true,
  "exportMarkdownReport": true,
  "exportCsvReport": true
}
```

#### Free Plan vs. Paid Apify Plan

| Tier | Max Pages Per Run | Outputs Included |
| :--- | :---: | :--- |
| **Free Apify Plan (Demo)** | Up to **2 pages** | Full dataset + `SUMMARY.json` + `EAA_REPORT.md` + `EAA_VIOLATIONS.csv` |
| **Paid Apify Plan** | Up to **50 pages** | Multi-page crawl + `additionalUrls` batch audit + full client exports |

***

### Output Artifacts & Sample JSON

1. **Dataset (`default`)** — One structured JSON record per audited page:

```json
{
  "url": "https://example.com/",
  "pageTitle": "Example Domain",
  "complianceStatus": "NEEDS_REMEDIATION",
  "accessibilityScore": 91,
  "criticalCount": 0,
  "seriousCount": 1,
  "moderateCount": 0,
  "minorCount": 1,
  "totalViolations": 2,
  "passedRules": 12
}
```

2. **Key-Value Store (`SUMMARY.json`):** Average accessibility score, EAA risk classification (`PASS`, `NEEDS_REMEDIATION`, `HIGH_RISK_EAA`), and top recurring violations.
3. **Key-Value Store (`EAA_REPORT.md`):** Formatted Markdown remediation checklist.
4. **Key-Value Store (`EAA_VIOLATIONS.csv`):** Spreadsheet-ready table sorted by severity.

***

### Pay-Per-Event (PPE) Pricing

| Event | Price | When Charged |
| --- | :---: | --- |
| `page-audited` | **`$0.05`** | Once per page audited with headless Chromium + `axe-core` |
| `report-exported` | **`$0.01`** | Once per run when `SUMMARY.json`, `EAA_REPORT.md`, and `EAA_VIOLATIONS.csv` are generated |

***

### 🤖 Use with AI Agents (MCP), n8n & REST API

Runs under **Limited Permissions** and integrates directly with **`mcp.apify.com`** (Cursor, Claude, Windsurf), **n8n**, or CI/CD checks:

```bash
curl -X POST "https://api.apify.com/v2/acts/sadis~wcag-eaa-accessibility-auditor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrl":"https://example.com","maxPages":5,"wcagStandard":"wcag22aa"}'
```

***

### Open-Source Compliance (`MPL-2.0`)

Bundles unmodified `axe-core` and `@axe-core/playwright` (`MPL-2.0`) alongside `apify` and `crawlee` (`Apache-2.0`). See `THIRD_PARTY_NOTICES.md`.

# Actor input Schema

## `startUrl` (type: `string`):

Starting URL of the website to audit for WCAG 2.1/2.2 and EU EAA compliance.

## `additionalUrls` (type: `array`):

Optional list of specific checkout, login, or landing page URLs to audit in addition to crawling startUrl.

## `maxPages` (type: `integer`):

Maximum number of pages to audit per run (up to 50 on paid Apify plans; Free plan runs are capped at 2 pages as a demo).

## `wcagStandard` (type: `string`):

Target WCAG rule set for the audit.

## `includeBestPractices` (type: `boolean`):

Include axe-core best-practice accessibility checks alongside WCAG rules.

## `exportMarkdownReport` (type: `boolean`):

Save a human-readable EAA_REPORT.md remediation guide to Key-Value Store.

## `exportCsvReport` (type: `boolean`):

Save a spreadsheet-ready EAA_VIOLATIONS.csv file to Key-Value Store.

## Actor input object example

```json
{
  "startUrl": "https://example.com",
  "additionalUrls": [],
  "maxPages": 5,
  "wcagStandard": "wcag22aa",
  "includeBestPractices": true,
  "exportMarkdownReport": true,
  "exportCsvReport": true
}
```

# Actor output Schema

## `pages` (type: `string`):

No description

## `summary` (type: `string`):

No description

## `report` (type: `string`):

No description

## `violationsCsv` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrl": "https://example.com",
    "maxPages": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("sadis/wcag-eaa-accessibility-auditor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrl": "https://example.com",
    "maxPages": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("sadis/wcag-eaa-accessibility-auditor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrl": "https://example.com",
  "maxPages": 5
}' |
apify call sadis/wcag-eaa-accessibility-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,sadis/wcag-eaa-accessibility-auditor"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/tphJfw5hreDwIUXYq/builds/BVGSPWiKymKF4BxDI/openapi.json
