---
name: a11y-audit
description: >
  One-shot entry point for the full accessibility audit workflow. Runs the WCAG 2.2
  AA scan on the specified URL or component path, then guides through remediation
  planning and (optionally) VPAT/ACR drafting. Orchestrates the accessibility-wcag-scan,
  accessibility-remediation-plan, and accessibility-vpat-acr skills in sequence.
---

# /a11y-audit

Run the complete RBA accessibility audit workflow on a target URL, page, component, or user flow.

## Syntax

```
/a11y-audit <URL or path> [options]
```

## Options

| Option | Values | Default | Description |
|---|---|---|---|
| `--platform` | `sitecore`, `optimizely`, `umbraco`, `headless` | auto-detect | Enable platform-specific checks |
| `--scope` | `page`, `component`, `flow` | `page` | What is being audited |
| `--vpat` | flag | off | Also produce a VPAT 2.5 ACR after the scan |
| `--edition` | `wcag`, `eu`, `int`, `508` | `wcag` | VPAT edition (only if `--vpat`) |
| `--format` | `jira`, `ado`, `markdown` | `markdown` | Remediation backlog format |
| `--sprints` | `1`–`6` | `2` | Number of sprints to spread the remediation across |
| `--regulation` | `ada`, `eaa`, `508`, `all` | `ada` | Regulatory lens for the compliance summary |

## Examples

```bash
# Basic full-page audit
/a11y-audit https://localhost:3000/

# Sitecore project, generate ADO backlog and VPAT
/a11y-audit https://localhost:3000/products --platform sitecore --vpat --edition eu --format ado

# Audit a single React component
/a11y-audit src/components/Navigation.tsx --scope component --format jira

# Multi-step checkout flow with EAA compliance view
/a11y-audit https://localhost:3000/checkout --scope flow --regulation eaa --vpat --edition eu
```

## What this command does

1. **Scan** — runs `accessibility-wcag-scan` on the target, producing a severity-ranked finding list mapped to WCAG 2.2 AA success criteria.

2. **Remediate** — runs `accessibility-remediation-plan` on the scan output, producing a sprint-ready backlog in the requested format.

3. **Report (optional)** — if `--vpat` is set, runs `accessibility-vpat-acr` to draft a VPAT 2.5 ACR in the selected edition.

## Output files produced

| File | Description |
|---|---|
| `a11y-scan-<date>.md` | Full audit report with finding table |
| `a11y-remediation-<date>.md` | Sprint-ready backlog |
| `acr-<product>-<date>.md` | VPAT/ACR (only if `--vpat`) |

## First-time use on a project

Run the audit once with `--vpat` to establish a baseline and formal ACR. Then set up the
`accessibility-compliance-monitor` skill on a recurring schedule (monthly for EAA-affected
properties, quarterly for ADA-only) to catch regressions.

## Escalating findings

- **Critical findings** — notify the project lead immediately. Do not ship.
- **EAA exposure** — any critical finding on an EU-market property constitutes a compliance gap
  under enforcement-active EAA (since June 2025). Document remediation commitment with a timeline.
- **VPAT submission** — after remediation, re-run the ACR with updated conformance ratings before
  submitting to a client or procurement body.
