Run Accessibility Audits in CI and Export SARIF
Accessibility work should be continuous, not last-minute.
The Web Content Accessibility Guidelines (WCAG) are the international accessibility standard. https://www.w3.org/WAI/standards-guidelines/wcag/
SARIF means Static Analysis Results Interchange Format, a standard file format for tool findings. https://docs.oasis-open.org/sarif/sarif/v2.1.0/sarif-v2.1.0.html
This guide shows how to automate both using Gasoline Agentic Devtools.
Quick Terms
Section titled “Quick Terms”- Accessibility audit: Scan for issues that block people with disabilities.
- CI (Continuous Integration): Automated checks on every change.
- SARIF file: Structured report your tools can ingest and track.
The Problem You Are Solving
Section titled “The Problem You Are Solving”You want to catch accessibility issues before users do.
Step-by-Step with Gasoline Agentic Devtools
Section titled “Step-by-Step with Gasoline Agentic Devtools”Step 1. Run an accessibility analysis
Section titled “Step 1. Run an accessibility analysis”analyze({what: "accessibility", summary: true})Step 2. Export a SARIF report
Section titled “Step 2. Export a SARIF report”generate({what: "sarif", save_to: "./reports/accessibility.sarif"})Step 3. Automate in your pipeline
Section titled “Step 3. Automate in your pipeline”In your CI job, run your scripted Gasoline checks and archive accessibility.sarif as a build artifact.
Step 4. Re-check after fixes
Section titled “Step 4. Re-check after fixes”analyze({what: "accessibility", force_refresh: true, summary: true})Why This Matters
Section titled “Why This Matters”Accessibility is quality. Continuous checks help teams ship inclusive experiences by default.
Image and Diagram Callouts
Section titled “Image and Diagram Callouts”[Image Idea] Sample SARIF report snippet with one issue explained in plain language.
[Diagram Idea] CI pipeline stage: build -> run accessibility audit -> export/report -> fail or pass.
You’re Building Better Software for Everyone
Section titled “You’re Building Better Software for Everyone”Teams that automate accessibility early move faster and cause less harm. Gasoline Agentic Devtools makes this practical for everyday workflows.