agentleFS
casooncasoon/ai-agent-config/skills/keyboard-navigation-review/SKILL.md

keyboard-navigation-review

Skill1 starsChanged 48 days agoMITView on GitHub

Prüft Tastaturbedienbarkeit: Fokusreihenfolge, sichtbarer Fokus, Tastatur-Fallen, vollständige Bedienung ohne Maus. Nutzen, wenn Keyboard-Access geprüft werden soll.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Keyboard-Navigation-Review

Prüft, ob eine Komponente/Seite vollständig und nachvollziehbar per Tastatur bedienbar ist.

Wann verwenden

  • Interaktive UI (Menüs, Modals, Tabs, Dropdowns, Formulare) soll auf Tastaturzugang geprüft werden.

Input

  • Komponenten-Code oder Seite (Pfad).
  • Optional: erwartete Bedien-Flows.

Prüf-Vorgehen

  1. Alle interaktiven Elemente per Tab erreichbar und in visueller Reihenfolge?
  2. Sichtbarer Fokus: :focus-visible-Style vorhanden, kein outline:none ohne gleichwertigen Ersatz.
  3. Kein positiver tabindex (tabindex="1+" zerstört die Reihenfolge). Erlaubt: 0 und -1.
  4. Keine Tastatur-Falle: Fokus lässt sich immer weiterbewegen (v.a. iframes, Custom-Widgets).
  5. Modals/Overlays: Focus-Trap aktiv, ESC schließt, Fokus kehrt danach zum Auslöser zurück.
  6. Custom-Widgets: erwartete Tasten implementiert (Enter/Space bei Buttons, Pfeiltasten bei Menü/Tabs).
  7. Kein Fokusverlust nach Interaktion (z.B. Element entfernt → Fokus fällt auf <body>).

Output

Je Finding:

  • Problem: was per Tastatur nicht geht.
  • Ort: Element/Interaktion.
  • Fix: Snippet (Handler, tabindex, Focus-Management).
  • Priorität: hoch (nicht bedienbar) / mittel / niedrig.

Gotchas

  • outline:none ohne Ersatz ist der häufigste Fehler — Fokus wird unsichtbar.
  • div/span als Button: braucht role, tabindex="0" UND Key-Handler für Enter und Space.
  • Nach Schließen eines Modals muss der Fokus zurückgesetzt werden, sonst springt er an den Seitenanfang.
  • Positiver tabindex gewinnt gegen DOM-Reihenfolge — verwirrend und fehleranfällig.
  • Hover-only-Interaktionen sind per Tastatur nicht erreichbar.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.