@ta11y/ta11y
v1.3.2
Published
CLI for running web accessibility audits with ta11y.
Downloads
40
Readme
@ta11y/ta11y
CLI for running web accessibility audits with ta11y.
See the ta11y docs for in-depth examples.
Install
npm install -g @ta11y/ta11y
This installs a ta11y
executable globally.
Usage
Usage: ta11y [options] <url>
Options:
-V, --version output the version number
-o, --output <file> Output the results to the given file (format determined by file
type). Supports xls, xlsx, csv, json, html, txt, etc.
-r, --remote Run all content extraction remotely (website must be publicly
accessible). Default is to run content extraction locally.
(default: false)
-e, --extract-only Only run content extraction and disable auditing. (default: false)
-s, --suites <strings> Optional comma-separated array of test suites to run. (section508,
wcag2a, wcag2aa, wcag2aaa, best-practice, html). Defaults to
running all audit suites.
-c, --crawl Enable crawling additional pages. (default: false)
-d, --max-depth <int> Maximum crawl depth. (default: 16)
-v, --max-visit <int> Maximum number of pages to visit while crawling.
-S, --no-same-origin By default, we only crawling links with the same origin as the
root. Disables this behavior so we crawl links with any origin.
-b, --blacklist <strings> Optional comma-separated array of URL glob patterns to ignore.
-w, --whitelist <strings> Optional comma-separated array of URL glob patterns to include.
-u, --user-agent <string> Optional user-agent override.
-e, --emulate-device <string> Optionally emulate a specific device type.
-H, --no-headless Disables headless mode for puppeteer. Useful for debugging.
-P, --no-progress Disables progress logging.
--api-key <string> Optional API key.
--api-base-url <string> Optional API base URL.
-h, --help output usage information
License
MIT © Saasify