makepad-fr/Run Pa11y (Docker)
Reusable action to run Pa11y via makepad/pa11y Docker image on a given URL and output a JSON report.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| url | Target URL to audit (e.g., https://example.com). | yes | — |
| standard | Accessibility standard for Pa11y (e.g., WCAG2A, WCAG2AA, WCAG2AAA). | no | WCAG2AA |
| threshold | Number of allowed issues before failing the action. 0 fails on any issue. | no | 0 |
| wait | Wait time in ms before Pa11y runs (useful for client-side rendering). | no | 0 |
| headers | JSON string of request headers (e.g., '{"Authorization": "Bearer ..."}') | no | "" |
| extra_args | Extra CLI args passed verbatim to Pa11y (advanced users). | no | "" |
| reporter | Pa11y reporter (json, csv, html, cli). JSON recommended for CI. | no | json |
| report_file | Path/filename for the generated report inside the workspace. | no | pa11y-report.json |
| docker_image | Docker image to use. | no | makepad/pa11y:latest |
| network | Optional Docker network to attach to (e.g., your reverse-proxy/test network). | no | "" |
Outputs
| name | description |
|---|---|
| report_path | Path to the generated report file. |
| exit_code | Exit code from the Pa11y run (0 = success). |