smukh/a11y-agent-skills

accessible-forms

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

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

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

aus demselben Repository

Weitere Skills

Alle Skills