smukh/a11y-agent-skills

accessible-forms

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

Vedi sorgente

Come usare

  1. Copia il comando e controlla il pacchetto prima di installarlo nel tuo ambiente agente.
  2. Controlla strumenti, credenziali e ambienti richiesti nel documento originale.
  3. Descrivi input e risultato desiderato; confronta l’output con le fonti.
npx skills add https://github.com/smukh/a11y-agent-skills --skill accessible-forms

Prima di iniziare

  • L’installazione non include abbonamenti, quote API o accesso ai file.
  • Stelle e installazioni indicano attività, non un test indipendente di qualità o sicurezza.
Documento Skill originale

Contenuto dal repository con titoli, esempi, codice, tabelle, link e immagini preservati.

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.

dallo stesso repository

Altri Skills

Tutti gli Skills