Skip to content

b8e scan

Scan a path (or —url) for accessibility findings

ArgumentKindDefaultDescription
diroptional.directory to scan (defaults to the current directory)
OptionTakesDefaultDescription
--url <url>valuepage URL to scan; repeat or comma-separate to aggregate pages into one site report
--story [id]valuescan Storybook stories: bare scans every story, ids (repeat or comma-separate) scope a subset
--crawlbooleanexpand the single —url <seed> into a same-origin page set, then aggregate
--max-pages <n>valuecrawl budget: maximum pages to visit
--max-depth <n>valuecrawl budget: maximum link depth from the seed
--format <format>valueprettyoutput format: pretty | json | sarif
--output <path>valuewrite json/sarif output to a file (default: stdout)
--timeout-ms <n>valueper-page navigation/analysis timeout, in milliseconds

Identical to what the terminal prints — both are rendered from the same commander definition.

Usage: b8e scan [options] [dir]
Scan a path (or --url) for accessibility findings
Arguments:
dir directory to scan (defaults to the current directory)
(default: ".")
Options:
--url <url> page URL to scan; repeat or comma-separate to aggregate
pages into one site report (default: [])
--story [id] scan Storybook stories: bare scans every story, ids (repeat
or comma-separate) scope a subset (default: [])
--crawl expand the single --url <seed> into a same-origin page set,
then aggregate
--max-pages <n> crawl budget: maximum pages to visit
--max-depth <n> crawl budget: maximum link depth from the seed
--format <format> output format: pretty | json | sarif (default: "pretty")
--output <path> write json/sarif output to a file (default: stdout)
--timeout-ms <n> per-page navigation/analysis timeout, in milliseconds
-h, --help display help for command