IamBishal
AuthorDeveloper Tools

remedia11y

Finds accessibility issues in a running web app, traces each one to the line that causes it, and fixes it only when a browser proves the fix.

An accessibility remediation engine for React, Next.js, Vite and static sites: scan, map to source, fix with codemods or drafted words, verify in the browser, open one pull request per fix, and keep CI from getting worse.

remedia11y cover: "Finds WCAG 2.2 issues. Traces each to its line. Fixes only what the browser proves." beside real fix output, a before/after and a PR card.
Your role
Author
Language
TypeScript
License
MIT
Status
Active

Overview

Why it exists

Accessibility scanners are good at finding problems and bad at fixing them. A report full of CSS selectors does not tell a developer which component, on which line, renders the broken element, and an automated fix that has not been tested can quietly make a page worse.

remedia11y closes that gap. It crawls a running site with Playwright, opens its menus, dialogs and scripted journeys, and checks every state with axe-core plus its own keyboard, focus and reflow checks. In development builds it maps findings to the JSX line, or to the component call site that should change, using a small dev-only loader and React 19's own debug information, and says how sure it is: only exact and call-site mappings are ever edited.

Fixes come from deterministic codemods (language, contrast colour, focus styles, reflow, keyboard access); alt text, names and labels can be drafted by Claude and are always marked for a person to review. Every fix is applied, the page is opened again, and the fix is kept only if the issue is gone, nothing new appears, the accessibility tree changes only where intended, and no pixel moves outside what the fix may touch. Each verified fix becomes its own pull request with before and after pictures and a checklist of what a person must still check.

For teams it adds a CI baseline that fails only on new issues, a GitHub Action, and an issue register with conformance report skeletons for WCAG 2.2 and EN 301 549 that never claim more than automation can know.

Topics

  • Accessibility
  • Developer tools
  • AI-assisted fixes

Features

What it can do

  • Scans interactive states as well as the page as it loads: menus and dialogs it opens itself, and scripted journeys you write
  • axe-core with WCAG 2.2 target size switched on, plus keyboard, focus-visible, focus-not-obscured and 320 px reflow checks
  • Maps issues to the JSX line or component call site on React 19, Next.js 16 and Vite, with a confidence level
  • Deterministic codemods for mechanical fixes; drafted words for alt text, names and labels, always marked for review
  • Every fix verified in the browser: issue gone, nothing new, accessibility tree and screen unchanged elsewhere
  • One pull request per fix with before and after pictures and a reviewer checklist
  • CI baseline that fails only on new or stale issues, and a GitHub Action
  • Issue register and conformance report skeletons for WCAG 2.2 and EN 301 549, with no compliance claims

Quick start

Up and running

  1. Install

    Needs Node 24.

    Terminal
    git clone https://github.com/bishal-saha/remedia11y.git && cd remedia11y
    npm install
    npx playwright install chromium
  2. Scan the demo shop

    Serve the deliberately inaccessible demo in a second terminal, then scan it.

    Terminal
    node test/helpers/static-server.ts demo/kestrel-shop 4173
    
    node src/cli.ts scan --config demo/kestrel-shop/remedia11y.config.json
    node src/cli.ts issues
  3. Fix and verify

    A dry run: every fix is verified in the browser, then undone and written as a patch.

    Terminal
    node src/cli.ts fix --config demo/kestrel-shop/remedia11y.config.json
  4. One pull request per fix

    Without --push it only checks that each fix applies.

    Terminal
    GITHUB_TOKEN=... node src/cli.ts pr --push
  5. Fail CI only on what got worse

    Terminal
    node src/cli.ts baseline http://localhost:3000/
    node src/cli.ts ci --start "npm run start" http://localhost:3000/

Tech stack

Built with

Language
  • TypeScript
  • Node.js 24
Browser
  • Playwright
  • Chromium
Checks
  • axe-core
  • keyboard, focus and reflow checks
Source mapping
  • Babel parser
  • React 19 debug stacks
  • source maps
Verification
  • accessibility-tree diff
  • pixelmatch
Storage
  • SQLite (node:sqlite)
LLM (optional)
  • Claude

Screens

A look inside

01Each finding traced to its source line
02Fixes kept only when the browser agrees
03One pull request per verified fix

Bishal SahaLet's build together

Have a system to design, or an AI feature to get right?

Tell me about the problem. You'll get a clear, honest view of the best way forward.

  • Reply within 24 hoursOn business days, with my honest view and a next step.
  • Accepting select engagementsArchitecture, AI features and full builds.
  • Remote, worldwideWorking with startups, SMEs and enterprises.