accessibility-patterns
WCAG accessibility — load only when explicitly required.
Skill by Dev-Toolbelt
Chalk Labs
Need help deploying accessibility-patterns?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/dev-toolbelt-accessibility-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/accessibility-patterns
What's inside
- Skill name
accessibility-patterns- Description
- WCAG accessibility — load only when explicitly required.
- License
- MIT
- Instructions
- 91 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Accessibility Patterns > **When to load this skill**: only when the project requires WCAG compliance (documented in project context), the user explicitly requests accessibility work, or an audit tool (axe, Lighthouse) flags specific violations. Do not apply these patterns as default constraints on every task. --- ## Focus Management Focus must be explicitly managed whenever the UI changes in ways the browser cannot handle automatically. | Scenario | Required action | |---|---| | Modal / dialog opens | Move focus to the first interactive element inside, or the dialog container | | Modal / dialog closes | Return focus to the trigger element that opened it | | SPA route navigation | Move focus to the main heading or the `<main>` landmark of the new page | | Inline error appears | Move focus to the error summary or the first invalid field | | Dynamic content inserted (toast, alert) | Announce via a live region — do not move focus | --- ## ARIA Usage Rules - **Prefer native HTML over ARIA**: `<button>` beats `<div role="button">`. ARIA fills gaps that semantic HTML cannot. - **Do not add ARIA to elements that already have the right semantics**: `<button aria-role="button">` is redundant noise. - **Every interactive custom component needs a role, a name, and a state**: - `role` — what it is (`combobox`, `tab`, `tree`) - accessible name — `aria-label`, `aria-labelledby`, or visible text - state — `aria-expanded`, `aria-selected`, `aria-checked` as appropriate ### Common pattern reference | Component | Role | Required states | |---|---|---| | Tabs | `tablist` / `tab` / `tabpanel` | `aria-selected`, `aria-controls` | | Accordion | `button` + `region` | `aria-expanded`, `aria-controls` | | Combobox / autocomplete | `combobox` + `listbox` | `aria-expanded`, `aria-activedescendant` | | Modal | `dialog` | `aria-modal="true"`, `aria-labelledby` | | Alert / toast | `alert` or `status` | live region (`aria-live="polite"` or `"assertive"`) | | Progress bar | `progressbar` | `aria-valuenow`, `aria-valuemin`, `aria-valuemax` | --- ## Live Regions Use live regions for content that changes without a focus move (notifications, status updates, async results). ```html <!-- polite: announced after the user finishes their current action --> <div aria-live="polite" aria-atomic="true">3 results found</div> <!-- assertive: interrupts immediately — use only for errors or critical alerts --> <div role="alert">Your session has expired.</div> ``` **Rules**: - Render the live region container on initial load (empty); inject content into it dynamically — do not render and inject simultaneously or the announcement is missed - `aria-atomic="true"` announces the full region on each update; omit it when only the new portion should be read --- ## Keyboard Navigation Every interactive element must be reachable and operable by keyboard alone. | Key | Expected behavior | |---|---| | `Tab` / `Shift+Tab` | Moves focus forward / backward through focusable elements | | `Enter` / `Space` | Activates buttons, links, checkboxes | | `Escape` | Closes modals, dropdowns, popovers | | Arrow keys | Navigates within composite widgets (menus, tabs, radio groups, grids) | **Focus trap**: when a modal is open, `Tab` must cycle within it — focus must not escape to the background. Use a focus trap utility rather than implementing it manually. --- ## Skip Links and Landmarks - Add a visible-on-focus skip link as the first element in the page: `<a href="#main-content">Skip to main content</a>` - Every page must have at least: one `<main>`, one `<header>`, one `<nav>` (if navigation is present) - Multiple `<nav>` elements must be distinguished with `aria-label`: `aria-label="Primary"`, `aria-label="Breadcrumb"` --- ## Testing Accessibility - **automated**: integrate `axe-core` (via `jest-axe`, `@axe-core/playwright`, or Storybook a11y addon) — catches ~30–40% of issues automatically - **keyboard test**: navigate the feature with keyboard only before declaring done - **screen reader test**: spot-check with VoiceOver (macOS/iOS), NVDA (Windows), or TalkBack (Android) for custom interactive components - **contrast**: verify with browser DevTools or a contrast checker — target 4.5:1 for text, 3:1 for large text and UI components
From Dev-Toolbelt/dev-team-agents, MIT.
More from Dev-Toolbelt/dev-team-agents
- 0.623score
design-patterns
Dev-Toolbelt
Design patterns — KISS, YAGNI, DRY, SOLID, GoF, DDD reference.
SkillAFreshness: A★ 7Claude Code +9 - 0.620score
graphql
Dev-Toolbelt
GraphQL — schema, resolvers, N+1/DataLoader, pagination.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
api-versioning
Dev-Toolbelt
API versioning — compatibility rules and deprecation lifecycle.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
architecture-docs
Dev-Toolbelt
Where architecture documents live, what each contains, and the conformance report format.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
async-jobs
Dev-Toolbelt
Async jobs — idempotency, retry strategy, DLQ, observability.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
ingestion-api
Dev-Toolbelt
Ingestion API — inbound data boundary design, validation, backpressure, idempotency, DLQ.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
component-patterns
Dev-Toolbelt
Component patterns — container/presentational for React/Vue/Angular.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
css-quality
Dev-Toolbelt
CSS quality — specificity, magic numbers, responsive.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
data-fetching-integrity
Dev-Toolbelt
Detect and prevent duplicate/redundant API calls in SPA/SSG frontends — tool-agnostic.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
event-driven
Dev-Toolbelt
Event-driven — sourcing, CQRS, saga, idempotency, schema registry.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
i18n
Dev-Toolbelt
i18n/l10n — locale detection, translations, pluralization, RTL.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
form-handling
Dev-Toolbelt
Form design — state, validation, error feedback.
SkillAFreshness: A★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 18, 2026 (12 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Dev-Toolbelt/dev-team-agents
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Dev-Toolbelt
- 0.623score
design-patterns
Dev-Toolbelt
Design patterns — KISS, YAGNI, DRY, SOLID, GoF, DDD reference.
SkillAFreshness: A★ 7Claude Code +9 - 0.620score
graphql
Dev-Toolbelt
GraphQL — schema, resolvers, N+1/DataLoader, pagination.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
component-patterns
Dev-Toolbelt
Component patterns — container/presentational for React/Vue/Angular.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
async-jobs
Dev-Toolbelt
Async jobs — idempotency, retry strategy, DLQ, observability.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
api-versioning
Dev-Toolbelt
API versioning — compatibility rules and deprecation lifecycle.
SkillAFreshness: A★ 7Claude Code +9 - 0.618score
architecture-docs
Dev-Toolbelt
Where architecture documents live, what each contains, and the conformance report format.
SkillAFreshness: A★ 7Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get accessibility-patterns running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
accessibility-patterns skill. Agent Mart. https://agentmart.dev/skills/dev-toolbelt-accessibility-patterns (last updated 2026-10-24)