Accessibility Fix (WCAG 2.2 Remediation)

VerifiedCaution

Repairs web accessibility (WCAG 2.2) violations through a baseline, edit, and verify loop. Applies mechanical fixes and leaves TODOs for visual or contextual judgment calls.

Sby Skills Guide Bot
DevelopmentIntermediate
11/8/2026
Claude Code
#accessibility#wcag#remediation#web#a11y

Recommended for

Automated summary

Repairs web accessibility (WCAG 2.2) violations by applying fixes and then verifying with the same audit rerun against a baseline.

Strengths

  • Explicit baseline, edit, verify loop that compares targeted violations and catches new regressions
  • Separates mechanical fixes applied as given from contextual or visual cases left as TODOs tagged with the rule ID
  • Maps live-DOM findings back to source files via React fiber Source: lines, with fallback to selectors and stable hooks
  • Batches edits per file and asks for scope confirmation before touching outside files or making more than about ten fixes

Limitations

  • Remediation only: finding issues requires the companion accessibility-scan, accessibility-inspect or accessibility-audit skills
  • Requires the accesslint MCP tools and, for URLs, a reachable or auto-launched debuggable Chrome
  • Anything needing visual or editorial judgment stays a TODO, so an automated rerun alone does not prove WCAG 2.2 conformance
When to use it

Use it when a findings worklist or a specific target is already known and you want fixes with a measurable before-and-after check.

When not to use it

Avoid it to discover unknown problems across a whole site or to author alternative text, since it does not search for issues and never invents content.

Security analysis

Caution
Quality score86/100

This is a remediation workflow document with no destructive commands, no obfuscated payloads, and no instructions to exfiltrate secrets or tokens. Its risk is bounded to legitimate but powerful capabilities: file edits/writes, Bash for launching or attaching to a local Chrome debugging session, and MCP audit calls. The file even includes explicit safety guardrails (don't invent alt text or labels, confirm scope before broad edits, stop rather than silently iterate), so 'caution' rather than 'risky' is appropriate.

Findings
  • •Uses Bash and may auto-launch a headless Chrome via `npx @accesslint/chrome ensure --headed` / attach to a debuggable Chrome port, which can fetch packages from the network and open a local debug interface
  • •Has Edit/Write permissions and instructs modifying source files in bulk; mitigations exist (confirm scope before editing outside the target, cap at ~10 mechanical fixes)
  • •Handles authenticated sessions by attaching to a user-signed-in debuggable Chrome, which could expose session content to the agent's tooling
  • •Declares and uses file-mutation tools (Edit, Write) to modify source code as its core function; scoped by guidance to confirm before editing files outside the obvious target and before >10 fixes, which is a reasonable safeguard but still grants broad write capability.
  • •Instructs launching/attaching a browser via `npx @accesslint/chrome ensure --headed`, which downloads and executes an npm package and opens a debuggable Chrome (network + process execution).
  • •References external MCP tools (audit_live, audit_html, etc.) that drive a headless browser; no evidence of those actions being destructive, but they imply network access.
  • •No destructive commands (no rm -rf, no curl|sh), no secret/token exfiltration, and no obfuscated payloads found. The instructions include explicit 'stop and report' guardrails when verification fails.
How this analysis is made

Examples

Apply a violations worklist
Apply these accessibility fixes to src/components/CheckoutForm.tsx — here is the findings worklist from the scan, then re-verify.
Make a page accessible
Fix the a11y issues on http://localhost:3000/signup — audit the page first, apply what's mechanical, and flag the rest as TODOs.
Batch remediation across a directory
Remediate the WCAG violations in src/pages/ and confirm with me before editing anything outside that directory.

name: accessibility-fix description: "Remediation only — repair web accessibility (a11y) violations against WCAG 2.2 with a baseline, edit, and verify loop. Takes a target (URL, files, directory) or a findings worklist from accessibility-scan/accessibility-inspect/accessibility-audit, applies mechanical fixes as given, leaves TODOs for visual or contextual judgment, and verifies by re-running the baseline check. It only fixes. To find issues use accessibility-scan (one page, automated), accessibility-inspect (one page, manual), or accessibility-audit (whole site, WCAG-EM); to check for regressions use accessibility-diff. Use it for 'fix the a11y issues in X', 'make this accessible', 'add missing alt text and labels', 'apply these accessibility fixes', 'remediate these violations'." argument-hint: "[target|url|report]" allowed-tools: Read, Edit, Write, Glob, Grep, Bash, Skill, Task, mcp__plugin_accesslint_accesslint__audit_html, mcp__plugin_accesslint_accesslint__audit_live, mcp__plugin_accesslint_accesslint__explain_rule, mcp__plugin_accesslint_accesslint__list_rules

This skill remediates accessibility violations: baseline, edit, verify. It only fixes. To find what's wrong, use accesslint:accessibility-scan (one page, automated), accesslint:accessibility-inspect (one page, manual), or accesslint:accessibility-audit (whole site, WCAG-EM); to check for regressions, use accesslint:accessibility-diff. The engine runs here are internal to the loop — a baseline before and a check after — not a report.

Shared conventions (grounding, never invent content): ../shared/methodology.md.

For large remediations, run via Task for context isolation; the steps are the same.

Input

  • A findings worklist (from accessibility-scan, accessibility-inspect, or accessibility-audit, or pasted): apply it directly; the baseline is already done.
  • A target (URL, config target name, files, or a directory): audit it first for the baseline, then fix.

Given neither, ask what to fix. Don't sweep a whole codebase unprompted.

Picking a flow (for baseline and verify)

  1. audit_live for any URL. It ensures a debuggable Chrome (auto-launches a headless one if none is reachable) and audits the live DOM. Use selector to scope and wait_for for async content. The live DOM catches what source can't.
  2. audit_html for raw HTML strings, files (Read first), or JSX rendered to a string.

For an authenticated session, have the user start a headed debuggable Chrome (npx @accesslint/chrome ensure --headed), sign in, then call audit_live({ url, port }) to attach to it.

Steps

  1. Baseline. Audit with format: "compact" and record the violation set (rule ID and selector for each). Skip this if you were handed a worklist.
  2. Apply. For each violation:
    • If a Source: line is present, open that file at that line. If several are listed (separated by ←), the first is the JSX literal and the rest are enclosing components; use Symbol to disambiguate.
    • If not, grep stable hooks (data-testid, id, aria-label), then visible text, then tree position.
    • Use the Fixability: and Fix: fields: apply mechanical fixes as given; leave a TODO with the rule ID for contextual or visual. Don't invent content (alt text, labels, link text).
    • Group edits to the same file into one operation.
    • Confirm scope before editing files outside the obvious target, or before more than about 10 mechanical fixes.
  3. Verify. Re-run the same audit and compare to the baseline: every targeted violation gone, no new ones. For a precise new/fixed/pre-existing comparison on a URL, use accesslint:accessibility-diff rather than checking by eye.

Source: lines come from React DevTools fibers and appear only in live-DOM audits against React dev builds. Static audits won't have them; fall back to selectors. When unsure about a rule, use explain_rule({ id }).

When to stop

  • A violation with no Fix: directive: leave a TODO, don't guess.
  • Verification fails (a new violation appeared, or a targeted one remains): report it and stop. Don't iterate silently.

Output

Per cycle: the flow used, violations by impact, what was applied (file and rule), what was deferred (TODOs and why), and the before and after counts.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/download' --output '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md.part' && mv '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md.part' '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

Tools declared by the author (check availability in your agent): Read, Edit, Write, Glob, Grep, Bash, Skill, Task, mcp__plugin_accesslint_accesslint__audit_html, mcp__plugin_accesslint_accesslint__audit_live, mcp__plugin_accesslint_accesslint__explain_rule, mcp__plugin_accesslint_accesslint__list_rules

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md' && test -s '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/accessibility-fix' && cp -R '.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r' '.claude/skills/accessibility-fix'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r'

openskills read 'accessibility-fix-wcag-2-2-remediation-mvj1oc8r'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/accessibility-fix-wcag-2-2-remediation-mvj1oc8r/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills