Audit accessibility (WCAG 2.2 / European Accessibility Act)
audit_accessibility_wcagCrawls pages in a real browser and runs WCAG 2.2 A/AA/AAA checks to identify accessibility issues, report scores, and provide code-level fixes.
Instructions
Crawls pages in a real browser and runs axe-core WCAG 2.2 checks (A/AA/AAA), mapping issues to WCAG success criteria and EN 301 549 / European Accessibility Act duties. Returns a score, issue counts by impact, the affected pages and concrete code-level fixes, plus a full-report link. Automated testing finds a subset of WCAG issues; it does not replace a manual audit. Runs on the caller's own Apify account (APIFY_TOKEN) and is billed by Apify pay-per-event; nothing is charged by this server.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public website URL, e.g. "https://example.com" (https:// is added if missing). Private/internal addresses are rejected. | |
| maxPages | No | Pages to crawl on the same host. | |
| waitSecs | No | How long to wait for results before returning status "running" with a runId (the scan keeps going; use get_audit_results). Default 240. | |
| wcagLevel | No | Conformance level to test against (AA is the legal baseline in most regions). | AA |
| maxCostUsd | No | Spend cap for this run on YOUR Apify account (forwarded to Apify as maxTotalChargeUsd). Default from server config ($2). | |
| includeBestPractices | No | Also report axe "best-practice" rules that are not strict WCAG failures. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | ||
| check | Yes | ||
| grade | Yes | ||
| score | Yes | ||
| dryRun | Yes | true = sample data from the built-in mock, NOT a real scan | |
| status | Yes | "running" = the Actor is still working; call get_audit_results with run.runId later | |
| target | Yes | ||
| metrics | Yes | ||
| summary | Yes | ||
| findings | Yes | ||
| reportUrl | No | Full report (HTML/JSON) in the Apify key-value store | |
| datasetUrl | No | ||
| findingsTotal | Yes | ||
| severityCounts | Yes |