# European Accessibility Act (EAA) & WCAG 2.2 Website Audit (`quietdata-lab/eu-accessibility-audit`) Actor

Audit websites for WCAG 2.2 AA issues with axe-core in a real browser, check for an accessibility statement in 24 EU languages, and get a score, WCAG criteria and fix hints per page.

- **URL**: https://apify.com/quietdata-lab/eu-accessibility-audit.md
- **Developed by:** [quietdata-lab](https://apify.com/quietdata-lab) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

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

## European Accessibility Act (EAA) & WCAG 2.2 Website Audit

Since 28 June 2025 the European Accessibility Act requires many websites and online shops that sell in the EU to be accessible. This actor checks websites for WCAG 2.2 Level AA problems in a real browser and tells you what to fix.

### What you get

- **Per page**: a 0–100 score, the number of problems by impact (critical, serious, moderate, minor), and every failed rule with its WCAG criteria (like 1.4.3), a plain explanation, a link to fix guidance, and example elements (CSS selector and HTML).
- **Per site summary** (free): average score, pages with critical problems, the most common problems across pages, and whether the site links to an **accessibility statement**. The link text is checked in 24 EU languages (Barrierefreiheit, accessibilité, accesibilidad, toegankelijkheid…).
- **Crawls for you**: give a home page and a page limit; the actor follows links on the same site.
- **Desktop or mobile** screen size.
- Powered by [axe-core](https://github.com/dequelabs/axe-core), the open-source engine used by many accessibility tools.

### Who it is for

- Agencies and freelancers checking client sites or preparing sales audits.
- Online shops and SaaS companies selling in the EU.
- Compliance teams that want a repeatable, scheduled check.

### Input example

```json
{
  "startUrls": [{ "url": "https://example.com" }],
  "maxPagesPerSite": 10,
  "wcagLevel": "AA",
  "mobileViewport": false
}
```

### Output example (page)

```json
{
  "type": "page",
  "url": "https://www.w3.org/WAI/demos/bad/before/home.html",
  "score": 0,
  "violations": 6,
  "violationsByImpact": { "critical": 2, "serious": 4, "moderate": 0, "minor": 0 },
  "issues": [{
    "rule": "color-contrast",
    "impact": "serious",
    "wcag": ["1.4.3"],
    "description": "Elements must meet minimum color contrast ratio thresholds",
    "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast",
    "elements": 2,
    "examples": [{ "selector": "td > font > b", "html": "<b>Free Penguins</b>" }]
  }]
}
```

### Pricing

You pay per page audited. Site summaries are free. Set a maximum cost per run and the actor stops cleanly when it is reached.

### Important

Automated tools find a large share of common problems, but not all of them. Some WCAG criteria need a human check (the `needsReview` count shows items axe could not decide). This report is a technical aid, not legal advice or a conformity certificate.

### Support

Open an issue on the actor's Issues tab.

# Actor input Schema

## `startUrls` (type: `array`):

Home pages or any pages to start from. One audit per site.

## `maxPagesPerSite` (type: `integer`):

The actor follows links on the same site until this many pages are audited.

## `wcagLevel` (type: `string`):

AA is the level referenced by the European Accessibility Act (via EN 301 549).

## `mobileViewport` (type: `boolean`):

Audit with a phone-sized screen (390×844).

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

Also report axe-core best-practice rules that are not strict WCAG failures.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.w3.org/WAI/demos/bad/before/home.html"
    }
  ],
  "maxPagesPerSite": 5,
  "wcagLevel": "AA",
  "mobileViewport": false,
  "includeBestPractices": false
}
```

# Actor output Schema

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

Score, WCAG violations and fix hints for each audited page, plus a site summary.

## `allItems` (type: `string`):

Every dataset item with all fields.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.w3.org/WAI/demos/bad/before/home.html"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("quietdata-lab/eu-accessibility-audit").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 = { "startUrls": [{ "url": "https://www.w3.org/WAI/demos/bad/before/home.html" }] }

# Run the Actor and wait for it to finish
run = client.actor("quietdata-lab/eu-accessibility-audit").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 '{
  "startUrls": [
    {
      "url": "https://www.w3.org/WAI/demos/bad/before/home.html"
    }
  ]
}' |
apify call quietdata-lab/eu-accessibility-audit --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,quietdata-lab/eu-accessibility-audit"
        }
    }
}
```

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/logt3FU4GFhsb26iz/builds/ZfdHq998HRuBpQgTC/openapi.json
