LinuxCommandLibrary

gh-a11y

web accessibility testing extension

TLDR

Run accessibility audit
$ gh a11y audit [url]
copy
Audit current repository
$ gh a11y audit
copy
Generate report
$ gh a11y audit --output [report.json]
copy
Check specific page
$ gh a11y audit [url] --rules [wcag2a]
copy

SYNOPSIS

gh a11y command [options]

DESCRIPTION

gh a11y is a GitHub CLI extension for accessibility testing. It analyzes web pages and applications for WCAG compliance, identifying accessibility issues that may affect users with disabilities.
The extension integrates with GitHub workflows, allowing accessibility checks to be part of pull request reviews and CI/CD pipelines. It generates reports in various formats for documentation and tracking.
gh a11y helps teams maintain accessible web applications throughout development.

PARAMETERS

audit

Run accessibility audit on a URL or repository.
--output FILE
Output file for report.
--rules RULESET
WCAG ruleset to apply (wcag2a, wcag2aa).
--format FORMAT
Output format (json, csv, html).
--help
Display help information.

CAVEATS

Extension must be installed via gh extension install. Results are automated checks; manual testing also recommended.

HISTORY

gh a11y is a community GitHub CLI extension that brings accessibility testing to the gh ecosystem, building on web accessibility standards and tooling.

SEE ALSO

gh(1), gh-extension(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard