Expand description
Automated WCAG accessibility checker and ARIA validation plugin.
This is a thin SSG-side wrapper around the standalone
ssg-a11y crate, which contains all of
the actual WCAG 2.2 rule-checking logic (that crate has zero
dependency on SSG’s Plugin trait, PluginContext, or
SsgError, so it can be reused by other Rust web frameworks). This
module’s job is purely the SSG integration: walking the compiled
site’s HTML files, calling into ssg_a11y::check_page for each one,
and writing the two build artifacts:
accessibility-report.json— issue list per page (existing format).wcag-compliance.json— compliance matrix mapping each WCAG 2.2 criterion to its automation status (automated / runtime-only / manual / not-applicable) plus a per-page pass/fail summary.
See the ssg_a11y crate docs for the full list of WCAG criteria
checked.
Structs§
- Accessibility
Issue - An individual accessibility issue found in a page.
- Accessibility
Plugin - Plugin that checks generated HTML for WCAG compliance.
- Accessibility
Report - Full accessibility report.
- Criterion
Entry - One row of the WCAG 2.2 compliance matrix.
- Page
Report - Accessibility report for a single page.
- Wcag
Compliance Report - WCAG 2.2 compliance matrix describing which criteria this crate can verify automatically, and whether every scanned page passed them.
Enums§
- Criterion
Status - How a single WCAG criterion is verified.