DEV Community

Cover image for What If Your A11y Linter Could Actually Fix the Bugs It Found?

What If Your A11y Linter Could Actually Fix the Bugs It Found?

Muhammed Safvan on February 15, 2026

This is a submission for the GitHub Copilot CLI Challenge What I Built What if your linter could actually fix the problems it found? T...
Collapse
 
safvantsy profile image
Muhammed Safvan

For anyone curious about the Copilot CLI integration: the key discovery was copilot --prompt "..." --allow-all-tools. The --prompt flag runs it non-interactively, and --allow-all-tools auto-approves file edits. Without these two flags, programmatic invocation wouldn't be possible. Happy to share more about the prompt engineering approach if anyone's interested.

Collapse
 
btc_2829ba6504799d6802 profile image
syed Amjad

good work

Collapse
 
saho_unfold profile image
saho

good problem solver

Collapse
 
raneemkayakkal profile image
Raneem K

Great Work!!

Collapse
 
safvantsy profile image
Muhammed Safvan

thanks

Collapse
 
anjala_binthrafeeqk_682 profile image
Anjala Binth Rafeeq K

How is this different from eslint-plugin-jsx-a11y ?

Collapse
 
safvantsy profile image
Muhammed Safvan

eslint-plugin-jsx-a11y is excellent and covers similar ground for React projects.
key difference is:

  • a11y-pilot works across JSX, TSX, HTML, Vue, Svelte, and Astro from a single CLI,
  • the auto-fix actually invokes Copilot CLI to do intelligent refactoring rather than just suggesting what to change.

Think of it as "what if your linter had an AI pair programmer attached."

Collapse
 
saho_unfold profile image
saho

Great idea. productivity win 🙌

Collapse
 
safvantsy profile image
Muhammed Safvan

thanks

Collapse
 
austin_amento_860aebb9f55 profile image
austin amento

Very cool!

Collapse
 
nazeem_ck_c73d647e8752629 profile image
Nazeem Ck

Accessibility always matter. Great work 👏

Collapse
 
bhavin-allinonetools profile image
Bhavin Sheth

This is seriously impressive. I recently ran an accessibility scan on one of my tool pages and fixing issues manually took hours — especially replacing clickable divs and adding proper labels. The idea of auto-fix with context-aware refactoring is a huge time saver. Curious — did you notice any cases where Copilot’s fix needed manual correction, or was it reliable most of the time?

Collapse
 
gocareer_tech_a05cbbe4416 profile image
GoCareer tech

nice terminal ui

Collapse
 
safvantsy profile image
Muhammed Safvan

Thanks, the terminal output uses chalk, gradient-string, and boxen.

Collapse
 
hello_aura_02a4b07231b30f profile image
Hello Aura

good work safvan

Collapse
 
arjun_prakash_d38f4f3e375 profile image
Arjun Prakash

This is seriously impressive 👏🔥

Collapse
 
pranavsvlm profile image
Pranav S

Nice work!😄