Agent skill Review & testing
Accessibility Diff
Review the accessibility of visible web interface elements and interactions.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/AccessLint/claude-marketplace/tree/main/plugins/accesslint/skills/accessibility-diff --skill accessibility-diff --agent claude-code --yesCheck this file in your project.claude/skills/accessibility-diff/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/AccessLint/claude-marketplace/tree/main/plugins/accesslint/skills/accessibility-diff --skill accessibility-diffSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring isolated local baseline and changed builds, matching test data and a readiness selector. The publisher Skill can stash or switch branches by default. Use its CLI snapshot flow pointed at isolated builds to keep the worktree accessible.
View operation manualWhat this skill helps with
- Review the accessibility of visible web interface elements and interactions.
Good for
- Accessible interfaces
- Skill name
- accessibility-diff
- Scenario
- Compare a local header against its baseline
- Deliverable
- A regression report listing what was introduced, fixed and pre-existing.
- Skill name
accessibility-diff- Repository
AccessLint/claude-marketplace
Define a testable accessibility task
A request with an unclear outcome
Scan my current branch and compare the number with last week.
Different fixtures, selectors or incomplete builds can make the count change without any related source change.
A workflow with observable results
- Align baseline and changed builds
- Capture a fresh baseline and compare
- Verify that changed results refer to the same UI
Accessibility Diff operation manual
Compare the same rendered state before and after a change and report newly introduced and resolved findings.
Replace the bracketed details with your own project and target.
Align baseline and changed builds
Use identical local route, viewport intent, DOM scope and states.
Prompt · Step 1Use AccessLint accessibility-diff to compare [isolated local baseline URL] and [isolated local changed URL] for [header selector]. Confirm both show the same route and fixture state after [ready selector]. Use the tool's CLI snapshot mechanism on these builds. Leave my working tree and stash alone and identify any differences in settings that would make the comparison unreliable.Capture a fresh baseline and compare
Set the same selector and readiness options for both scans.
Prompt · Step 2Use AccessLint accessibility-diff's CLI snapshot flow on [baseline and changed local builds]. Save the first run with --snapshot [run name], --snapshot-dir [new scratch folder] and --update-snapshot. Run the changed build against that snapshot without updating it, using matching --selector and --wait-for values. Collect its exit status, text summary and JSON. Cross-check new findings against a full current scan if the representations disagree.Verify that changed results refer to the same UI
Report new, fixed and existing findings with evidence from the comparison.
- Both runs used the same scope, ready-state test and rule options.
- The comparison identifies real regressions and reports ambiguous selector changes.
Prompt · Step 3Use AccessLint accessibility-diff on [comparison report]. Return counts of new, fixed and pre-existing findings. For every new issue show the exact selector, rule, supporting evidence and fix or human check. If the header markup changed enough to move the selectors, spot-check the same control in both renders and flag results that might only reflect selector drift.
Find the relevant rule
Point the assistant to the installed Skill and a specific issue.
Two builds are ready at different timesReference
- Command or reference
SKILL.md · Notes- Examples
- Use the same rendered readiness gate on both builds.
Component markup changed extensivelyReference
- Command or reference
SKILL.md · Notes- Examples
- Check real control identity when selectors drift, then use a full scan if needed.
Machine output disagrees with the exit statusReference
- Command or reference
CLI scan · snapshot output- Examples
- Keep the exit status, read text output and check a full scan before reporting a clean comparison.
Accessibility Diff troubleshooting
The snapshot comparison exits 1, but JSON lists no new violations. What do I check?
CLI 0.13.0 demonstrated this mismatch on a local fixture. Read a text-format comparison for the new count and run a full scan of the changed build for raw selectors. Keep any identity mismatch visible in the report.