Accessibility test toolkit

a1 audit discover

Build a validated page inventory from sitemaps and rendered same-origin links before a multi-page accessibility audit.

Run discovery

a1 audit discover https://example.com \
   --scope site \
   --out .a11ied/audits/example/inventory.json \
   --json

Scope can be page, section, or site. Section scope stays under the starting URL path. Discovery merges sitemap URLs with links found after the page renders. Use --sitemap-only when rendered crawling is not allowed.

Resume

a1 audit discover https://example.com \
   --resume-from .a11ied/audits/example/inventory.json \
   --out .a11ied/audits/example/inventory.json \
   --json

Resolved pages keep their page ids and are not resolved again. The command replaces the inventory atomically after each page, so an interrupted process leaves a valid previous or current file.

Limits and privacy

--max-pages, --max-sitemaps, and --concurrency bound the work. A stopped run says its inventory is partial. --storage-state loads a local Playwright authentication file without printing it. --artifacts-dir saves rendered page content, so use it only after the site owner approves that capture.