smukh/a11y-agent-skills

accessible-component-review

Reviews an interface component's native semantics, name-role-value, keyboard behavior, focus, colors, motion, target size, announcements, and disabled states.

Zobacz źródło

Jak używać

  1. Skopiuj polecenie instalacji i sprawdź źródła przed instalacją we własnym środowisku agenta.
  2. W oryginale sprawdź wymagane narzędzia, dane dostępowe i obsługiwane środowiska.
  3. Opisz dane wejściowe i oczekiwany rezultat; porównaj wynik ze źródłami.
npx skills add https://github.com/smukh/a11y-agent-skills --skill accessible-component-review

Przed rozpoczęciem

  • Instalacja nie obejmuje subskrypcji modelu, limitu API ani uprawnień do plików.
  • Gwiazdki i instalacje pokazują aktywność, a nie niezależny test jakości lub bezpieczeństwa.
Oryginalny dokument Skill

Treść z repozytorium z zachowaniem nagłówków, przykładów, kodu, tabel, linków i obrazów.

Accessible component review

Review every supported state and input path of one reusable component.

Workflow

  1. Inventory states, variants, input methods, content slots, and expected

semantics.

  1. Select the native element that already provides the behavior. Use ARIA

patterns only when native HTML cannot provide the required interaction.

  1. Apply references/component-checklist.md

to each state.

  1. Run deterministic rules, keyboard behavior, forced-colors, reduced-motion,

zoom/reflow, and pointer target checks. Record manual judgment separately.

  1. Trace failures to the component source and repair the smallest shared layer

that owns the defect.

  1. Add tests for user-visible behavior and verify consuming examples do not

regress.

Boundaries

Do not add ARIA that duplicates or conflicts with native semantics. Do not treat a single Storybook example as coverage of every consumer. Do not assert that an accessible name is meaningful without content context.

z tego samego repozytorium

Więcej Skills

Wszystkie Skills