/waris-skill-library:warisskill-ui-ux-accessibilityfrom waris-skill-library
Use whenever building or reviewing any interactive UI, on any platform (web, iOS, Android, desktop) — this is a non-negotiable baseline, not an optional pass. Trigger on any new component, form, modal, navigation element, or icon-only control, and on any PR/change that touches markup, styling, or interaction. Also trigger when asked to review or audit a UI. Do not defer this to "later" or treat it as separate from the initial build — build to WCAG 2.2 AA the first time, not as cleanup.
Ships in waris-skill-library. 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.
This is not best-effort. WCAG 2.2 Level AA is the floor on every project, every platform, from the first version of a component — not a follow-up audit pass. If a shortcut would violate this baseline, it is not an available shortcut.
<button>, not a <div> with an onClick.
A <nav>, <label>, <table> — reach for the native element before a
custom role. Same principle cross-platform: native SwiftUI/Compose
components carry accessibility traits for free; custom-drawn ones don't.warisskill-ui-ux-design-systems-tokens), not after the palette ships.aria-label / native
equivalent) — never ship an icon button with no accessible name.aria-live (or platform equivalent) for status
updates that aren't tied to a user-initiated focus change.| Concern | Web | iOS (SwiftUI) | Android (Compose) |
|---|---|---|---|
| Label | aria-label / <label> | .accessibilityLabel() | contentDescription |
| Hint | aria-describedby | .accessibilityHint() | semantics { stateDescription } |
| Role | role="button" | .accessibilityAddTraits(.isButton) | semantics { role = Role.Button } |
| Live region | aria-live="polite" | .accessibilityLiveRegion(.polite) | semantics { liveRegion = ... } |
No existing automated check in place — default to wiring in eslint-plugin-jsx-a11y on web/React projects (catches missing alt text, invalid ARIA, non-interactive-element-with-handler issues at lint time, near-zero ongoing effort) and spot-check with axe DevTools or Lighthouse's accessibility audit before considering a UI feature done. This is a floor, not a substitute for the build-time checklist above — linters don't catch focus-trap or keyboard-flow issues.
<div>/<span> standing in for a button with no role or keyboard
handling.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./