# Website Accessibility Checker (WCAG 2.2, axe-core) (`texxupport/website-accessibility-checker`) Actor

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

## Pricing

from $15.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

## Website Accessibility Checker (WCAG 2.2, axe-core)

Check web pages for accessibility problems against **WCAG 2.0, 2.1 and 2.2 (A and AA)** and **Section 508**, using **axe-core**, the open-source engine behind many professional accessibility tools, in a real Chrome browser. Check a list of pages or crawl a whole site, and get each problem with its impact, the WCAG criterion, the failing elements and how to fix it.

**Who uses it:** web agencies and freelancers (pitching and QA), government and education web teams meeting ADA Title II and Section 508, e-commerce teams reducing ADA lawsuit risk, EU teams preparing for the European Accessibility Act, and bidders on public website contracts that require WCAG 2.1 AA.

### What you get

**One row per page** (default): page address and title, number of issue types, counts by impact (critical, serious, moderate, minor), elements affected, "needs manual review" count, and the full list of issues. Each issue has the rule, impact, plain description, WCAG criteria (for example 1.1.1), how many elements fail, example elements (selector and HTML) with the fix, and a link to the rule's guidance.

**One row per issue** (optional): easier to filter and sort in a spreadsheet.

**A summary report** (REPORT in the run's key-value store): a table of every page you can open in a browser or send to a client.

### How to use it

1. Add page addresses. Turn on crawling to follow links on the same site, up to your page limit.
2. Pick standards (default: WCAG 2.1 A and AA) and desktop or mobile screen size.
3. Run it. Schedule it monthly to catch new problems after site changes.

### Cost

Priced per page checked (or per issue row in issues mode), plus the browser's platform usage.

### Important

Automated tools find roughly a third to a half of accessibility problems. A clean result is **not** proof of WCAG conformance; keyboard, screen reader and content checks still need a person. This Actor does not give legal advice.

axe-core is © Deque Systems, open source under the Mozilla Public License 2.0. This Actor is not affiliated with or endorsed by Deque or the W3C.

# Actor input Schema

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

Full addresses, for example https://www.example.gov/.

## `crawl` (type: `boolean`):

Also follow links to other pages on the same site, up to the maximum number of pages below.

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

Stop after this many pages have been checked.

## `standards` (type: `array`):

Which rule sets to run. The default covers WCAG 2.1 A and AA, the level most US and EU rules require.

## `minImpact` (type: `string`):

Only report issues at or above this impact level: minor, moderate, serious or critical.

## `viewport` (type: `string`):

Screen size used when loading each page: desktop or mobile.

## `output` (type: `string`):

Whether the results have one row per page, or one row per accessibility issue found.

## `waitMs` (type: `integer`):

Extra time for scripts to finish drawing the page.

## `maxNodesPerRule` (type: `integer`):

How many example elements to include for each issue found on a page.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.w3.org/WAI/demos/bad/before/home.html"
    }
  ],
  "crawl": false,
  "maxPages": 20,
  "standards": [
    "wcag2a",
    "wcag2aa",
    "wcag21a",
    "wcag21aa"
  ],
  "minImpact": "minor",
  "viewport": "desktop",
  "output": "pages",
  "waitMs": 1000,
  "maxNodesPerRule": 5
}
```

# Actor output Schema

## `results` (type: `string`):

Every row delivered by this run, as a table you can download as CSV, Excel or JSON.

# 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("texxupport/website-accessibility-checker").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("texxupport/website-accessibility-checker").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 texxupport/website-accessibility-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,texxupport/website-accessibility-checker"
        }
    }
}
```

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/1wGv5uYSb6MBfLNPj/builds/M3Jnaa3H8qKD6x2Qx/openapi.json
