smukh/a11y-agent-skills

accessibility-regression-test

Converts a verified accessibility repair into the narrowest durable user-behavior test.

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 accessibility-regression-test

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.

Accessibility regression test

Protect the user-facing behavior that failed, after the repair has been verified in the original state.

Workflow

  1. Read the before evidence and verified after evidence. State the barrier in

terms of user behavior.

  1. Choose the narrowest reliable layer with

references/test-selection.md.

  1. Make the test fail against the known broken behavior when practical, then

pass with the repair.

  1. Assert outcomes such as focus destination, exposed error, accessible name, or

absence of the original fingerprint. Do not assert only that an attribute string exists.

  1. Control route, state, viewport, reduced motion, and data so the test is

repeatable.

  1. Keep manual-only outcomes as an explicit review record rather than a

misleading automated test.

Boundaries

Do not snapshot raw axe output, browser versions, run IDs, or timestamps. Do not weaken a rule, baseline away a new issue, hide content, or remove functionality to make a test pass. A regression test protects its scoped behavior; it does not certify the component or page.

z tego samego repozytorium

Więcej Skills

Wszystkie Skills