Accessibility in CI/CD: what to check on every release and what requires human review
Updated:
Accessibility checks in continuous integration and delivery (CI/CD) can flag some new barriers before a release. A passing automated check, however, does not confirm WCAG conformance or show that disabled people can use the website successfully. A useful setup therefore combines fast machine checks, deliberate triage and a plan for human evaluation.
Why scanning one page is not enough
Tools such as axe-core and the IBM Equal Access Accessibility Checker evaluate rules that can be determined reliably from the code and rendered interface. They may identify, for example, a control without an accessible name, invalid use of selected ARIA attributes, or certain contrast problems.
They cannot fully assess the meaning of content, the clarity of a process, or whether a screen-reader user can comfortably finish a task. W3C therefore states explicitly that an automated tool cannot determine accessibility or conformance on its own. A successful run confirms only that the configured automated conditions were met within the executed scope. Known findings may remain under exceptions.
Dynamic states pose another limitation. A menu, modal, form-submission error or subsequent checkout step may be hidden or created only after interaction. The check must run after the interaction that actually displays the relevant state. This is one reason why an accessibility scanner alone is not enough.
Divide checks by speed and risk
Accessibility need not be one large task at the end of a pipeline. A practical arrangement can use three layers:
- When a component changes, run fast rules against its representative states. The developer receives feedback on the button, form or dialog while the change is still fresh.
- During an integration or browser test, open important application states and run the selected engine in each one. Include an empty and completed form, a validation error, an open modal and a signed-in state.
- Before a release or on a schedule, exercise a broader sample of key journeys. Align this layer with what the team already runs in CI/CD rather than creating a separate, disconnected pipeline.
Every run needs a defined URL, state, DOM scope, ruleset version and expected outcome. Without these, a new barrier cannot be distinguished from a tool-configuration change.
How to manage known findings
If the website already has known findings, immediately blocking on every result could stop every release regardless of the current change. A temporary baseline, a recorded starting state, can highlight new findings. It must not turn old ones into permanent exceptions.
Give each exception an identifier, reason, owner and review date. When the tool or ruleset version changes, compare results in a controlled run first. A new or more precise finding is not automatically a pipeline defect. Broad selector-based suppression is risky because it may hide future problems in the same part of the page.
Decide what blocks a release
A blocker should be a confirmed, reproducible new finding within the agreed scope, particularly in a critical journey. A tool’s severity label alone is not enough. The team needs to know which rule failed, on which element, after which interaction, and whether missing data or incomplete loading caused the result.
Items marked for human review, known baseline findings and unstable technical failures require triage first. “Informational” must not mean “ownerless”: the result needs a recorded decision rather than a silent skip.
What still requires human review
Human evaluation focuses on what a machine cannot decide reliably: logical reading order and meaning, the quality of text alternatives, keyboard operation, focus movement, error announcements to screen readers, and whether the complete task can be finished. Keyboard accessibility testing provides a practical first filter.
Frequency depends on risk and change. A new checkout needs human review before release. A stable information page may follow a different schedule. CI/CD reduces the risk of reintroducing certain barriers, but it does not replace an audit, user testing or individual legal advice. It is a continuous layer between deeper evaluations, not proof of full conformance. Combine it with a plan that recognises why a one-off audit is not enough.
A successful job status does not prove a check ran
Verify how the scanner result becomes a test outcome and a pipeline decision. A generated report can contain violations even when its wrapper script exits successfully. A check may also receive the wrong page or never run.
GitHub distinguishes a skipped workflow from a skipped job. A filtered-out workflow can leave a required check pending, while a job skipped by a condition can report success. When configuring required checks, therefore test the route where the scanner does not execute too. Assess a green icon alongside evidence of an actual run.
A practical decision process might use these outcomes:
| Outcome | Agreed response |
|---|---|
| The check ran in the correct state without new blocking findings | Continue under the rules, including required manual assessment |
| Confirmed new blocking finding | Stop the relevant release and assign a fix |
| Setup failure, timeout or missing planned run | Mark incomplete verification and require remediation or a documented decision |
| Item requiring human judgement | Assign an owner and decide according to impact and the agreed deadline |
This proposes team rules, rather than automatic behaviour in every CI system. Verify the configuration against the events, filters and job dependencies used.
How to update a baseline without hiding a new barrier
Associate each exception with a specific rule, element and tested state. When element identification changes, compare the original exception’s reason with the new finding. Automatically accepting the current report as a new baseline could approve a regression too.
Playwright’s accessibility guidance notes that excluding an element through AxeBuilder.exclude() from @axe-core/playwright also excludes its descendants and every rule for that area. It also describes finer comparisons of specific violation identifiers. This approach still needs maintenance after page changes.
Review exception changes alongside the fix. If the barrier is resolved, remove the obsolete exception and verify the next run. If it remains, update the remediation plan. Expanding a baseline must not become the normal route to making a defective build green.
What the pilot should establish
In an isolated test environment, assess the correct state and a controlled finding, such as a button without an accessible name in an open dialog. Check that it appears in the report and triggers the agreed pipeline response. Then remove the change and repeat the assessment.
Separately try setup failure when the dialog does not open or data is missing. This run should show incomplete verification, rather than absence of barriers. Also try a known exception and a new finding beside it. This establishes whether suppression covers a wider area than intended.
Retain links to the application and ruleset versions, the reached state, results and decision. Detailed output can contain HTML or page data. Configure report access and retention, and avoid real customer data. A backup team member should be able to interpret the output too.
What you gain
Developers receive specific findings while the relevant change is still fresh. The team can separate a new regression from technical noise, and critical journeys do not wait for the next large audit. Human specialists can spend their time on behaviour and meaning that automation cannot judge.
Next step
Choose one critical journey and list both its visible and dynamic states. For each state, define the automated check, expected result, and human-review items. Trial this bounded pilot in one part of the pipeline without presenting it as a complete WCAG audit.