keyboard

Installation
SKILL.md

If .ux-profile.md exists at the project root, read it before changing surfaces, forms, or focus behavior.

Intent

Pointer-only UI excludes keyboard and assistive-tech users and slows power users. Every control operable by mouse must work by keyboard; focus must always be visible; overlays must trap and restore focus predictably.

Hard Rules (Non-Negotiable)

  • Every mouse-operable control must work via Tab, Shift+Tab, Enter, and Space. Links, buttons, toggles, menus, tabs, and custom widgets expose correct roles and keyboard handlers. No hover-only actions without a keyboard equivalent.
  • Never outline: none without an immediate high-contrast replacement. Use box-shadow focus ring or outline with outline-offset: 2px meeting contrast requirements from .ux-profile.md. Focus must be visible in both light and dark themes.
  • Modals and slide-overs trap focus internally; restore focus to the trigger on close. Tab cycles within the overlay only; on dismiss, return focus to the element that opened the surface.

See reference/keybinding-matrix.md for Esc, Enter, Slash, Mod+K, and grid navigation conventions.

Design Heuristics & Taste Principles

Installs
57
GitHub Stars
2
First Seen
Sep 10, 2026