Builds web/app UIs usable by keyboard, screen-reader, low-vision, and motion-sensitive users. Covers semantic HTML, labelled controls, visible focus, WCAG AA contrast, and axe checks for CI.
Ships in browser-extensions. 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.
Accessibility failures are concentrated in a few places: custom controls built from
divs, inputs without labels, invisible focus, low-contrast "subtle" text, and
modals that trap nothing or everything. Check those first; they cover most real
users' problems and most automated findings.
The right element gives keyboard support, focus and screen-reader semantics for free.
| Need | Use | Not |
|---|---|---|
| Action | <button type="button"> | <div onclick>, <a href="#"> |
| Navigation | <a href="/path"> | <button onclick="location=…"> |
| Page regions | <header> <nav> <main> <footer> | anonymous divs |
| Headings | one <h1>, then <h2>… in order | bold divs, skipped levels |
| Lists | <ul>/<ol> | stacked divs |
| Data | <table> with <th scope> | grids of divs |
| Toggle | <input type="checkbox"> / <button aria-pressed> | a styled span |
ARIA is for the gaps HTML cannot fill (tabs, comboboxes, live regions). "No ARIA is
better than bad ARIA": a wrong role actively misinforms assistive tech.
<label for>; placeholder text is not a label (it disappears and
is usually low contrast).aria-label="Delete contact" (the action and its object).alt; decorative images alt="".aria-describedby and set
aria-invalid="true"; see the designing-interaction-states skill for wording.Unplug the mouse and use Tab, Shift+Tab, Enter, Space, Esc and the arrow keys.
outline: none without a replacement; use
:focus-visible { outline: 2px solid <focus color>; outline-offset: 2px; }.<dialog> element with
showModal() does most of this.tabindex greater than 0.WCAG AA: 4.5:1 for normal text, 3:1 for large text (≥ 24px, or ≥ 18.66px bold) and for UI component boundaries and focus indicators. Measure; do not judge by eye.
# axe reports contrast failures with the exact ratio and element
npx --yes @axe-core/cli "http://127.0.0.1:$PORT/" --tags wcag2a,wcag2aa
Common failures: grey placeholder text, muted helper text below ~#767676 on white, white text on light brand colors, disabled-looking "secondary" buttons. Check both light and dark themes. Never convey meaning by color alone — pair red with an icon or text ("Overdue").
Respect prefers-reduced-motion: disable parallax, auto-playing animation and
large transitions.
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
Text resizes to 200% without loss of content; use rem for type, never disable
zoom (user-scalable=no).
Touch targets at least 44×44px (24×24px absolute minimum with spacing).
Do not auto-advance carousels or time out forms without a way to extend.
Automated tools catch roughly a third of issues; they are a floor, not a verdict.
# tests/test_a11y.py — Playwright + axe; run with: uv run --with playwright --with axe-playwright-python pytest
from axe_playwright_python.sync_playwright import Axe
def test_home_has_no_serious_violations(page, live_server_url):
page.goto(live_server_url + "/")
results = Axe().run(page)
serious = [v for v in results.response["violations"] if v["impact"] in ("serious", "critical")]
assert not serious, results.generate_report()
Then, for every UI PR: a 2-minute keyboard pass of the changed screen, a contrast check of any new colors, and (for significant flows) a quick pass with VoiceOver (Cmd+F5 on macOS) to hear that controls announce sensible names.
SwiftUI and UIKit give most of this through system components: use Button,
Toggle, Label and standard lists; support Dynamic Type (text styles, not fixed
point sizes); add .accessibilityLabel to icon-only buttons; group related elements
with .accessibilityElement(children: .combine); test with VoiceOver and the
Accessibility Inspector, and at the largest Dynamic Type size.
div and span click handlers instead of buttons and links.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
a11y, wcag, keyboard-navigation, screen-reader, semantic-html
/browser-extensions:building-accessible-interfacesfrom browser-extensions
npx claudepluginhub wdm0006/python-skills --plugin browser-extensions10 skills in this plugin
/wiring-application-configLoad, merge, and validate layered application configuration (defaults plus a user YAML/TOML/JSON file or a stored settings object) so a mis-wired or misspelled key fails loudly instead of silently reverting to the default — sections the code reads that exist nowhere, sections that exist but nothing reads, unvalidated recursive merges, `bool`-passes-as-`int`, defaults aliased by a shallow merge, falsy-but-valid values killed by `or`/`||`, partial write-backs that are stickier than a missing file, and bootstrap ordering that swallows the loader's own warnings. Use when adding a config key, writing or reviewing a config loader/merge/schema, reading a setting in a new module, persisting user settings, wiring logging from config, or debugging a setting that "has no effect"./building-browser-extensionsBuilds and tests Manifest V3 browser extensions — service-worker message channels that survive teardown, chrome.storage read-modify-write safety, settings validation in the popup, and a Jest chrome mock that can actually fail. Use when writing or reviewing a background service worker, a popup that reads/writes chrome.storage, an extension's Jest suite, or debugging an extension whose UI silently stops responding./shipping-build-artifactsMake the build step a real gate on what you actually distribute — build scripts that warn and exit 0 on a missing input, size checks with only an upper bound, hand-maintained file lists that drift from the entrypoints they must cover, committed bundles that go stale when only the source changes, GNU-only shell in release scripts that aborts on the other OS, and verification that runs against the source tree instead of the artifact. Use when writing or reviewing a build/package script, a `dist/` copy step, a release workflow that uploads a zip or installer, or a committed compiled asset./running-github-actions-efficientlyCut GitHub Actions minutes and wall-clock time without losing coverage — the OS billing multiplier (macOS 10x / Windows 2x / Linux 1x), trigger hygiene that stops push+pull_request double-firing, concurrency that cancels superseded runs, dependency caching keyed on lockfiles, matrix discipline, and auditing scheduled crons that bill 24/7. Use when CI is burning included minutes, when runs feel slow, when setting up a new repo's workflows, or when reviewing an existing workflow for waste./keeping-git-repos-cleanPrevents, detects, and remediates files that should never be committed — secrets (.env, API tokens, hardcoded credentials) and dev artifacts (build output, scratch databases, editor/OS files). Covers .gitignore (and why it does not untrack), git rm --cached, auditing tracked files, history scrubbing, and credential rotation. Use when a repo has committed secrets or junk, when setting up a new repo's ignore rules, or when reviewing what a repo actually tracks./designing-interaction-statesDesigns the states screens actually spend their time in — first-run and empty states, loading and skeletons, inline validation and error messages, success feedback, destructive confirmations, and the microcopy for each — so a product feels finished instead of only working on the happy path. Use when building a form, list, dashboard, upload, checkout or settings screen, adding an async action, writing error or empty-state copy, or reviewing a UI that shows blank pages, raw errors or spinners forever.Other plugins' skills for the same job