/a11y-checker:a11y-fixfrom a11y-checker
Scans and fixes accessibility issues in web pages and codebases using a11y-checker. Supports React, Next.js, Angular, plain HTML/JS, and React Native. Fixes WCAG violations like missing alt text, labels, and contrast.
Ships in a11y-checker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scan, fix, rescan, report. Uses the a11y-checker MCP tools (scan_page, explain_rule); if they are not available, use the CLI: npx a11y-checker <target> --json. The CLI prints a bare JSON array of findings and exits 1 when there are any (that is not a crash).
Scope first. Scan only what the user named: a file, several files, a directory or a URL. Pass them all in one call (target can be a list; the CLI takes several arguments). If they named nothing, ask which files or directories; scan the whole project only when they ask for the whole codebase. Only edit files inside that scope, and report (do not fix) findings that point outside it.
.vue), Astro (.astro, needs eslint-plugin-astro; if a Warning: says it was skipped, run npx a11y-checker init), Angular templates (.html fragments and inline template: strings in *.component.ts), and full HTML pages (rendered and checked with axe). Svelte, template engines and DOM code built in plain JS (document.createElement) are not linted statically; scan the running page's URL instead. Findings carry file and line. Works without a running app and is the only option for React Native.selector and html. Use this too for Next.js, because it checks the rendered result (e.g. next/image alt, page title, contrast), which source scanning cannot.An .html file path is rendered directly, no server needed. A directory or any other file is linted as source.
Next.js and multi-page apps have many routes. Scan each important route's URL.
Call scan_page with the target. If the result (or the CLI's stderr) carries a Warning: about skipped files or nothing to scan, those files were not checked. Never report a clean result for them: say so, and scan the running app's URL instead (or ask for it). Add tags: ["wcag2aa", "wcag22aa"] for a specific WCAG level. For client-rendered pages, pass waitFor with a selector that appears once the app has rendered.
Work through findings, most severe first (critical, serious, moderate, minor). Source findings are all serious, so order those by file.
Fix the root cause, then rescan: one change often clears several findings (a clickable <div> turned into a <button>, one missing <main>).
file at line and fix it there.html, the id, class or data-testid in selector. Fix the component that renders it, not just one instance.fixHint as the starting point; call explain_rule for a web ruleId when the hint is not enough.<button>, <label>, <nav>) over adding ARIA. Add lang to <html>, an alt to images (alt="" only if decorative), a name to every control.Do not guess content. These need the real content and count as not fixable by you: alt text, link text, button names, page <title> and <h1>. If you cannot tell what something is for, ask; if you cannot ask, leave it and list it in the report.
Scan the same target again. Repeat steps 3 and 4 until only findings that need real content remain, at most three rounds.
Give: what was fixed (rule, file), what remains, and why. Always call out these as needing a human:
color-contrast): needs a design decision.<Image> alt text. The URL scan does.serious.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub muhnad/a11y-checker --plugin a11y-checkerOther plugins' skills for the same job