ci(atomic): add weekly a11y scan workflow#7117
Draft
y-lakhdar wants to merge 26 commits intofeat/a11y-merge-shardsfrom
Draft
ci(atomic): add weekly a11y scan workflow#7117y-lakhdar wants to merge 26 commits intofeat/a11y-merge-shardsfrom
y-lakhdar wants to merge 26 commits intofeat/a11y-merge-shardsfrom
Conversation
347ae6f to
dca717d
Compare
- Add VitestA11yReporter class for collecting axe-core results during vitest runs - Add reporter-utils.ts with shard resolution, component extraction, error processing - Add axe-integration.ts with axe-core type guards and WCAG tag parsing - Add merge-shards.ts for combining sharded a11y reports - Add unit tests for reporter (9 tests) and merge-shards (3 tests) - Update index.ts with reporter exports - Add test and a11y:merge-shards scripts to package.json
- Add src/openacr/types.ts with OpenACR interfaces and conformance mappings - Add src/openacr/overrides.ts for loading override configuration - Add src/openacr/manual-audit.ts for manual audit baseline parsing and resolution - Add src/openacr/conformance.ts for multi-source conformance calculation - Add src/openacr/report-builder.ts for building OpenACR report structure - Add src/openacr/yaml-serializer.ts with hand-rolled YAML serializer (no deps) - Add src/reporter/json-to-openacr.ts as slim CLI orchestrator (137 lines) - Add unit tests for json-to-openacr (7 tests) - Update index.ts with OpenACR exports - Add a11y:vpat script to package.json
- Add scripts/ai-wcag-audit.ts for LLM-powered WCAG compliance auditing - Add scripts/generate-a11y-issues.ts for generating GitHub issues from reports - Add scripts/manual-audit-delta.ts for computing manual audit deltas - Add scripts/vpat-from-openacr.handlebars template for VPAT generation - Add a11y-overrides.json for per-criterion conformance overrides - Add reports/deltas/ directory with example delta file
aeb2820 to
daef522
Compare
Add @coveo/atomic-a11y as a dev dependency and configure VitestA11yReporter as a reporter in the storybook vitest project. When test:storybook runs, the reporter captures axe-core a11y results from each story test and writes an aggregated JSON report to packages/atomic-a11y/reports/a11y-report.json.
- Create weekly a11y scan workflow (runs Mondays at 9 AM UTC) - Runs Storybook a11y tests on main and uploads report artifact - Supports manual triggering via workflow_dispatch
daef522 to
6e433b2
Compare
The function was deferred from the foundation PR since its first consumer is merge-shards.ts in this branch.
DELTA_PATTERN and VALID_STATUSES were deferred from the foundation PR since their first consumers are the scripts in this branch.
This was referenced Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds CI integration for the
@coveo/atomic-a11ypackage — the final PR in the a11y chain.What's included
a11y-weekly-scan.yml): A scheduled workflow that runs every Monday at 9 AM UTC onmain, executing the full Storybook a11y test suite and uploading the report as an artifact with 30-day retention.How it works
The existing
storybook-atomicCI job (frommain) already runstest:storybook, which — thanks to theVitestA11yReporterwired in PR #7126 — automatically generates the a11y report. This PR adds a dedicated weekly scan for tracking a11y compliance trends over time.PR Chain (7 of 7)
How to verify
Related