# Accessibility Statement Auditor (`phoenix2810/accessibility-statement-auditor`) Actor

Detect and audit a public website's accessibility statement against the W3C statement model and EU Directive 2016/2102 fields. Returns section coverage, contacts, conformance claims, date, legal references, score, grade, and recommendations.

- **URL**: https://apify.com/phoenix2810/accessibility-statement-auditor.md
- **Developed by:** [Sanskar Jaiswal](https://apify.com/phoenix2810) (community)
- **Categories:** SEO tools, Developer tools, Open source
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

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

## Accessibility Statement Auditor

Accessibility Statement Auditor checks whether a public website publishes an accessibility statement, finds it via the page you provide, same-site links, and common statement paths, and audits the statement against the W3C accessibility statement model and the EU Web Accessibility Directive (2016/2102) field expectations. It returns section coverage, contact channels, conformance claims, statement date, legal references, a readiness score, letter grade, and actionable recommendations.

### Use cases

- Verify accessibility statement compliance before a launch, public tender, or marketplace review.
- Check EU Web Accessibility Directive (2016/2102) and European Accessibility Act statement obligations across a portfolio of sites.
- Monitor statement freshness and conformance claims after site redesigns.
- Add a statement compliance check to agency accessibility reporting and QA pipelines.
- Detect missing statements, missing contact channels, or outdated statement dates at list scale.

### Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `startUrl` | string | yes | Public HTTP or HTTPS URL to audit. Use the site homepage to let the actor discover the statement, or link directly to a statement page. Credentials and private network targets are rejected. |
| `timeoutSeconds` | integer | no | Request timeout for each HTTP request, from 3 to 30 seconds. Defaults to 15. |
| `maxCandidates` | integer | no | Maximum number of candidate statement pages to fetch and score, from 1 to 10. Defaults to 6. |

### Output

The actor pushes one dataset item per run.

| Field | Type | Description |
| --- | --- | --- |
| `inputUrl` | string | Original URL provided by the user. |
| `normalizedInputUrl` | string | URL after default HTTPS scheme normalization. |
| `checkedAt` | string | ISO timestamp of the audit. |
| `statementFound` | boolean | True when an accessibility statement page was detected and scored. |
| `statementUrl` | string | URL of the best-scoring statement page found, or null. |
| `statementStatus` | integer or null | HTTP status of the statement page fetch. |
| `candidateCount` | integer | Number of candidate pages checked. |
| `candidates` | array | Per-candidate summary with url, status, isHtml, statementCandidate flag, and score. |
| `hasCommitment` | boolean | Statement contains an accessibility commitment. |
| `wcagVersion` | string or null | WCAG version referenced, for example 2.1. |
| `wcagLevel` | string or null | Conformance level referenced (A, AA, or AAA). |
| `hasConformanceStatus` | boolean | Statement declares a conformance status. |
| `conformanceStatus` | string or null | Conformance phrase detected, for example partially conformant. |
| `hasFeedbackContact` | boolean | Statement provides a feedback contact channel. |
| `contactEmail` | string or null | Contact email found on the statement page. |
| `hasStatementDate` | boolean | Statement shows a creation or last-updated date. |
| `statementDate` | string or null | Date text detected. |
| `hasLimitations` | boolean | Known limitations or non-accessible content section present. |
| `hasMeasures` | boolean | Organizational measures section present. |
| `hasAssessmentApproach` | boolean | Assessment approach section present. |
| `hasEvaluationReport` | boolean | Evaluation report reference present. |
| `hasFormalApproval` | boolean | Formal approval section present. |
| `hasComplaintsInfo` | boolean | Complaint or escalation information present. |
| `hasLegalReference` | boolean | References an applicable law or standard. |
| `legalReferences` | array | Detected references such as EN 301 549 or EU Web Accessibility Directive 2016/2102. |
| `score` | integer | Statement readiness score from 0 to 100. |
| `grade` | string | Letter grade from A to F. |
| `issues` | array | Problems found. |
| `recommendations` | array | Suggested fixes. |
| `error` | string or null | Fatal fetch or validation error, if any. |

### Example input

```json
{
  "startUrl": "https://example.com",
  "timeoutSeconds": 15,
  "maxCandidates": 6
}
```

### Example output

```json
{
  "inputUrl": "https://example.com",
  "normalizedInputUrl": "https://example.com/",
  "checkedAt": "2026-09-24T00:00:00.000Z",
  "statementFound": true,
  "statementUrl": "https://example.com/accessibility-statement",
  "statementStatus": 200,
  "candidateCount": 6,
  "candidates": [
    { "url": "https://example.com/accessibility-statement", "status": 200, "isHtml": true, "statementCandidate": true, "score": 100 }
  ],
  "hasCommitment": true,
  "wcagVersion": "2.1",
  "wcagLevel": "AA",
  "hasConformanceStatus": true,
  "conformanceStatus": "partially conformant",
  "hasFeedbackContact": true,
  "contactEmail": "accessibility@example.org",
  "hasStatementDate": true,
  "statementDate": "26 October 2018",
  "hasLimitations": true,
  "hasMeasures": true,
  "hasAssessmentApproach": true,
  "hasEvaluationReport": true,
  "hasFormalApproval": true,
  "hasComplaintsInfo": true,
  "hasLegalReference": true,
  "legalReferences": ["EN 301 549", "EU Web Accessibility Directive 2016/2102", "WCAG 2.1"],
  "score": 100,
  "grade": "A",
  "issues": [],
  "recommendations": [],
  "error": null
}
```

### Security

Only public HTTP and HTTPS URLs are accepted. The actor rejects URL credentials, localhost, private IPv4 ranges, private IPv6 ranges, and hostnames that resolve to private addresses. Redirect targets are revalidated before following. It reads only pages on the audited site and does not require login credentials or collect private data.

### Pricing

| Event | Suggested price |
| --- | ---: |
| Actor start | $0.005 |
| Site audited | $0.01 |

A typical single-site audit costs about $0.015 before platform fees.

### FAQ

#### Does this crawl a whole site?

No. It fetches the page you provide, follows same-site links that look like statement pages, and checks a handful of common statement paths such as /accessibility and /accessibility-statement. Up to `maxCandidates` pages are checked per run.

#### Does it execute JavaScript?

No. It reads the returned HTML. This keeps the actor fast, cheap, and predictable. Statements rendered only via client-side JavaScript may be missed.

#### Is this a legal compliance certification?

No. It is a technical readiness check of the published statement's structure and content against the W3C statement model and EU Directive 2016/2102 field expectations. Legal compliance advice requires a qualified assessor.

#### Does it check WCAG conformance of the site itself?

No. It audits the statement, not the site's conformance. Use a full accessibility scanner for page-level WCAG checks.

#### What is the keep metric?

Keep if it gets organic Store impressions, runs, revenue, or inbound questions within 60 to 90 days. Improve listing or pricing if impressions arrive without runs. Archive if it gets no discovery and no usage.

# Actor input Schema

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

Public HTTP or HTTPS URL to audit. Use the site homepage to let the actor discover the statement, or link directly to a statement page to audit it. Credentials and private network targets are rejected.

## `timeoutSeconds` (type: `integer`):

Timeout for each HTTP request.

## `maxCandidates` (type: `integer`):

Maximum number of candidate statement pages to fetch and score. Candidates come from the input page, same-site accessibility links, and common statement paths.

## Actor input object example

```json
{
  "startUrl": "https://example.com",
  "timeoutSeconds": 15,
  "maxCandidates": 6
}
```

# Actor output Schema

## `results` (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"
};

// Run the Actor and wait for it to finish
const run = await client.actor("phoenix2810/accessibility-statement-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" }

# Run the Actor and wait for it to finish
run = client.actor("phoenix2810/accessibility-statement-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"
}' |
apify call phoenix2810/accessibility-statement-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,phoenix2810/accessibility-statement-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/A0BNriq5xfF3yE3g0/builds/ShqIDguaZ5ZA0X7ab/openapi.json
