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.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/smukh/a11y-agent-skills --skill accessible-component-review

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

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.

aus demselben Repository

Weitere Skills

Alle Skills