You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add automated WCAG 2.2 accessibility checks (axe) for learn's public pages in CI #1131
The GSoC 2027 starter idea "Accessibility audit to WCAG 2.2 AA" needs a baseline, and today nothing checks accessibility automatically: .github/workflows/project-checks.yml only runs py_compile and a wrangler deploy --dry-run for Worker projects. learn's pages are server-rendered from learn/public/*.html through base.html, so they can be scanned once wrangler dev --local is running with the local D1 schema.
Several pages are being restyled right now, so start in report-only mode: list violations without failing the build.
What to do
Add a CI job (or a script under learn/scripts/) that starts npx wrangler dev --local, applies schema.sql to the local D1, and runs @axe-core/cli or pa11y-ci against about 10 core public URLs (/, /about, /activity, /login, /teach, /gsoc, /status, /privacy, /terms, /404).
Use WCAG 2.2 AA rule tags (wcag2a, wcag2aa, wcag21aa, wcag22aa).
Upload the report as a workflow artifact and print a short summary (violations per page) in the job log.
Document how to run it locally in learn/README.md.
Acceptance criteria
The job runs on PRs that touch learn/ and produces a report artifact.
It is non-blocking (continue-on-error or report-only) for now, with a TODO for making it blocking.
Activity
github-actions commentedon Nov 2, 2026