Audit WCAG 2.1 accessibility on every pull request (free GitHub Action) — CoPilot Blog
    Neura MarketNeura Market/CoPilot
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityCoPilotCoPilot
    DeepSeekDeepSeekStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsBlogVideosGuidesCoursesCommunityPluginsTrendingGenerate
    CoPilotBlogAudit WCAG 2.1 accessibility on every pull request (free GitHub Action)
    Back to Blog
    Audit WCAG 2.1 accessibility on every pull request (free GitHub Action)
    a11y

    Audit WCAG 2.1 accessibility on every pull request (free GitHub Action)

    Jaimin April 24, 2026
    0 views

    I build web apps and I always mean to audit accessibility before shipping, and I never do. axe-core...

    --- title: Audit WCAG 2.1 accessibility on every pull request (free GitHub Action) published: true description: tags: accessibility, github, webdev, devops # cover_image: https://direct_url_to_image.jpg # Use a ratio of 100:42 for best results. # published_at: 2026-04-24 18:01 +0000 --- I build web apps and I always mean to audit accessibility before shipping, and I never do. axe-core DevTools is great but it's a browser extension I have to remember to open. So I built the thing I actually wanted: a GitHub Action that runs axe-core on every PR and fails the job if it finds serious violations. ## The install ```yaml on: pull_request jobs: a11y: runs-on: ubuntu-latest permissions: { contents: read, pull-requests: write } steps: - uses: jpatel3/a11yscout@v1 with: urls: https://your-preview-url.example.com level: AA fail-on: serious ``` That's it. You'll get a PR comment like: > **3 violations (2 critical, 1 serious)** > - `button-name` — Buttons must have discernible text (WCAG 4.1.2 A) > - `image-alt` — Images must have alternative text (WCAG 1.1.1 A) > - `link-name` — Links must have discernible text (WCAG 2.4.4 A) ## The optional source-mapping plugin axe-core reports violations by CSS selector — `button.sc-dkPtRN` — which is useless. a11yscout ships an optional Vite plugin that makes the violations say `src/components/Button.tsx:12:4` instead: ```ts import { a11yscout } from "@a11yscout/vite-plugin"; export default defineConfig({ plugins: [react(), a11yscout()], }); ``` The plugin injects a `data-a11yscout-src` attribute at build time, and the scanner reads it back. ## What it doesn't do (yet) - Next.js / webpack plugins — only Vite - Auto-detect Vercel/Netlify preview URLs — you pass them explicitly - AI fix suggestions - Persistent history ## Links - Marketplace: https://github.com/marketplace/actions/a11yscout - Source: https://github.com/jpatel3/a11yscout - License: MIT It's day one. Feedback welcome — especially on which framework plugin to build next.

    Tags

    a11ygithubwebdevdevops

    Comments

    More Blog

    View all
    Minimalist EKS: The Easy Waykubernetes

    Minimalist EKS: The Easy Way

    Amazon EKS manages the Kubernetes control plane, but you remain responsible for provisioning the...

    J
    Joaquin Menchaca
    Never forget to enter the Stern Grove lottery again!ai

    Never forget to enter the Stern Grove lottery again!

    Browser automation with Playwright, Python, GitHub Actions, and Entire to auto-enter San Francisco Stern Grove concert lotteries each week!

    L
    Lizzie Siegle
    A Free Screenshot Editor That Never Uploads Your Imagetypescript

    A Free Screenshot Editor That Never Uploads Your Image

    A free screenshot and image editor that runs entirely in your browser. Keeping every edit reversible and handling big phone photos, in plain TypeScript and Canvas2D.

    M
    Martin Stark
    I built a CLI to break my highlights out of Apple Booksshowdev

    I built a CLI to break my highlights out of Apple Books

    A macOS CLI + MCP server that exports Apple Books highlights to Markdown and gives AI assistants direct access to your reading notes.

    A
    Andrey Korchak
    A Developer's Guide to Agent Hooks in Antigravity CLIai

    A Developer's Guide to Agent Hooks in Antigravity CLI

    Motivation To be quite honest, "Hooks"—the shell commands we trigger at specific points...

    T
    Tanaike
    Tactical vs. Strategic Agentic AI Development — A Playbook for Developersagents

    Tactical vs. Strategic Agentic AI Development — A Playbook for Developers

    The Strategic Engineer: Why Writing Code Is No Longer Your Most Valuable Skill ...

    A
    Adewumi Saheed Adewale

    Stay up to date

    Get the latest CoPilot prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for CoPilot and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.