smukh/a11y-agent-skills

accessible-forms

Reviews and repairs accessible form labeling, instructions, autocomplete, grouping, validation, error summaries, announcements, redundant entry, and authentication.

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-forms

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 forms

Review the user journey, not isolated inputs.

Workflow

  1. Identify every available state: initial, invalid submission, corrected input,

and successful submission. Test at least initial, invalid, and successful states when they exist.

  1. Apply references/forms-checklist.md to

labels, instructions, required communication, autocomplete, grouping, and authentication.

  1. Submit invalid data. Verify errors are identified in text, programmatically

connected to fields, announced or focused appropriately, and summarized when the form size warrants it.

  1. Correct the form and verify stale error state is removed without losing

needed instructions.

  1. Prefer native form elements and associations. Add live regions only for

dynamic changes that need announcement; avoid duplicate announcements.

  1. Preserve the deterministic scan and interaction evidence, then add a

user-behavior regression test.

Boundaries

Do not invent labels, requirements, validation copy, autocomplete purpose, or authentication policy. Escalate missing product meaning for human decision. A machine-detectable label does not establish that the label is clear or correct.

z tego samego repozytorium

Więcej Skills

Wszystkie Skills