Accessibility review

From Asymmetric-al/core · View interactive version

Accessibility review is an AI agent skill from the GitHub repository Asymmetric-al/core. Audit and fix accessibility in Core UI. Use when changing or reviewing buttons, links, forms, validation, dialogs, menus, tabs, tables, keyboard interactions, focus management, accessible names, announcements, contrast, touch targets, reduced motion, or WCAG/a11y behavior.

How to use this skill

Skill file

Accessibility review

Apply a focused accessibility pass without replacing Core's component system or

mistaking automated checks for conformance.

Authority and boundaries

  1. Read docs/ai/rules/frontend.md and docs/ai/rules/testing.md first.
  2. Reuse @asym/ui Base UI primitives for dialogs, menus, tabs, tooltips,

comboboxes, and other behavior-heavy widgets. Do not build ARIA replicas of

behavior that a shared primitive already implements.

  1. Prefer native HTML semantics before adding roles or ARIA. ARIA supplements

semantics; it does not repair incorrect interaction behavior.

  1. Use docs/ai/skills/components-build/SKILL.md for component API work and

docs/ai/skills/emil-design-engineering/touch-accessibility.md for Core's

touch and keyboard conventions.

  1. Keep fixes scoped. Do not migrate UI libraries or refactor unrelated layout.

Workflow

  1. Map the states. Identify the interactive controls, reading order,

keyboard path, loading/empty/error states, responsive variants, and any

content revealed only by hover or pointer input.

  1. Check semantics and names. Verify landmarks, headings, lists, table

headers, labels, accessible names, descriptions, values, and state attributes.

  1. Exercise interaction. Use Tab and Shift+Tab, Enter/Space, arrow keys where

the widget pattern requires them, and Escape for dismissible overlays. Check

visible focus, initial focus, focus containment, and focus restoration.

  1. Check feedback. Associate helper and error text with fields, announce

material async status changes, and ensure color, toast, or hover is never the

only carrier of essential information.

  1. Check perception. Inspect contrast, zoom/reflow, touch targets, alt text,

captions where applicable, and reduced-motion behavior. Preserve Core's

global reduced-motion baseline instead of redeclaring it in an app.

  1. Verify proportionately. Run the focused automated suite, then perform the

manual checks automation cannot prove. If asked only to review, report exact

file:line evidence and concrete fixes without editing source.

Core patterns

keep decorative icons out of the accessibility tree.

heading elements when they express the behavior.

aria-invalid only when the field is invalid.

the native element or the applicable ARIA state.

tabIndex to repair a broken sequence.

hit area to match the visible glyph.

Verification

bun run test:a11y

For new or materially changed routes, update

tests/e2e/accessibility.spec.ts. Use @axe-core/playwright for repeatable

violations and Playwright role locators for behavior. An axe pass does not prove

keyboard order, focus quality, usable labels, alt-text intent, or complete WCAG

conformance, so keep the manual interaction pass.

Checklist

Provenance

See references/upstream.md for the reviewed upstream

source, license, Core adaptations, and refresh workflow.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.