# WCAG 2.1 ADA Website Accessibility Checker (Playwright) (`risimwell/bulk-rendered-spa-accessibility-wcag-auditor`) Actor

Audits single-page applications (SPAs) and dynamic web portals in bulk for WCAG 2.1 accessibility violations, missing ARIA landmarks, contrast errors, and keyboard navigation issues on fully rendered DOM trees.

- **URL**: https://apify.com/risimwell/bulk-rendered-spa-accessibility-wcag-auditor.md
- **Developed by:** [Ricardo Enriquez](https://apify.com/risimwell) (community)
- **Categories:** MCP servers, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.50 / 1,000 items extracted

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/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

## Bulk Rendered SPA Accessibility & WCAG Compliance Auditor

### Why use this Actor?

Auditing modern Single Page Applications (SPAs) and dynamic web portals for accessibility is notoriously difficult with static HTML scanners. Dynamic UI elements, JavaScript-rendered DOM trees, and complex component states require real browser execution to detect true WCAG failures.

The **Bulk Rendered SPA Accessibility & WCAG Compliance Auditor** spins up headless browsers via Playwright to fully render your target pages before running exhaustive accessibility checks. Save hundreds of hours of manual QA testing, automate compliance reporting for enterprise clients, and integrate automated accessibility checks directly into your CI/CD or no-code pipelines.

#### Dataset Overview

| Field | Type | Description |
| --- | --- | --- |
| `url` | String | The fully rendered audited web page URL. |
| `health_score` | Integer | Calculated accessibility rating from 0 to 100. |
| `compliance_status` | String | Compliance determination (e.g., PASS, FAIL). |
| `total_violations` | Integer | Sum of all detected WCAG accessibility violations. |
| `critical_violations` | Integer | High-severity defects blocking user access. |
| `images_missing_alt` | Integer | Count of images lacking alternative descriptive text. |
| `violations` | Array | Detailed JSON list of each specific violation node. |

***

### Use Cases

- **Agencies & Consultancies:** Run automated compliance audits for prospective or existing enterprise clients across hundreds of subpages.
- **No-Code Automators (Make, n8n, Zapier):** Trigger weekly accessibility health audits and automatically send alerts to Slack or save reports in Google Sheets.
- **AI Agents & MCP Servers:** Allow AI agents to query `https://mcp.apify.com` to inspect web accessibility on-the-fly.

***

### Input JSON Example

```json
{
  "startUrls": [
    "https://apify.com"
  ],
  "wcagStandard": "WCAG2AA",
  "maxItems": 5
}
```

### Real Verified Output Example

```json
[
  {
    "url": "https://apify.com",
    "audited_at": "2026-11-25T06:43:07.070012+00:00",
    "wcag_standard": "WCAG2AA",
    "health_score": 100,
    "compliance_status": "PASS",
    "total_violations": 0,
    "critical_violations": 0,
    "serious_violations": 0,
    "moderate_violations": 0,
    "minor_violations": 0,
    "has_main_landmark": true,
    "has_lang_attribute": true,
    "page_title": "Apify: Marketplace of ready-to-run tools for AI",
    "images_missing_alt": 0,
    "buttons_missing_label": 0,
    "inputs_missing_label": 0,
    "links_missing_text": 0,
    "landmarks_summary": {
      "main": 1,
      "nav": 1,
      "header": 1,
      "footer": 1,
      "aside": 0
    },
    "heading_summary": {
      "h1": 1,
      "h2": 11,
      "h3": 14,
      "h4": 3,
      "h5": 0,
      "h6": 0
    },
    "violations": []
  }
]
```

***

### Quick Automation

#### n8n / Make / cURL Integration

You can trigger this Actor programmatically using standard HTTP POST requests via the Apify API:

```bash
curl -X POST https://api.apify.com/v2/acts/bulk-rendered-spa-accessibility-wcag-auditor/run-sync-get-dataset-items?token=YOUR_API_TOKEN \
  -H "Content-Type: application/json" \
  -d '{"startUrls": [{"url": "https://apify.com"}], "wcagStandard": "WCAG2AA", "maxItems": 5}'
```

#### Model Context Protocol (MCP) Server

Connect your LLM or AI agent directly to this tool via Model Context Protocol by pointing your agent configuration to `https://mcp.apify.com` and invoking the `bulk-rendered-spa-accessibility-wcag-auditor` tool with your target URLs.

***

### Pay-Per-Event Pricing

This Actor utilizes a transparent Pay-Per-Event (PPE) pricing model:

- **Actor Start:** $0.002 per execution run.
- **Item Extracted:** $0.0055 per successfully audited SPA URL.

*Estimated cost for auditing 1,000 pages:* Approximately **$5.502** total (plus compute time if applicable). Only pay for what you successfully audit!

# Actor input Schema

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

List of SPA or Web App URLs to audit for accessibility compliance.

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

Target WCAG compliance level for auditing.

## `maxItems` (type: `integer`):

Maximum number of pages/URLs to process in this run.

## Actor input object example

```json
{
  "startUrls": [
    "https://apify.com"
  ],
  "wcagStandard": "WCAG2AA",
  "maxItems": 5
}
```

# Actor output Schema

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

Structured records extracted by this Actor.

# 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": [
        "https://apify.com"
    ],
    "wcagStandard": "WCAG2AA",
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("risimwell/bulk-rendered-spa-accessibility-wcag-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 = {
    "startUrls": ["https://apify.com"],
    "wcagStandard": "WCAG2AA",
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("risimwell/bulk-rendered-spa-accessibility-wcag-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 '{
  "startUrls": [
    "https://apify.com"
  ],
  "wcagStandard": "WCAG2AA",
  "maxItems": 5
}' |
apify call risimwell/bulk-rendered-spa-accessibility-wcag-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,risimwell/bulk-rendered-spa-accessibility-wcag-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/cljQKcVhY6IrGMA0z/builds/lEFQSCR7ZItuSRg55/openapi.json
