HollaHoop

[Agent] Command palette lacks focus trap

Tweak· by Elsama· 1 month ago

Agent brief

Category: a11y | Severity: medium | Effort: S

Problem

Command palette dialog lacks focus trap. Tab key escapes to page behind modal.

Files

  • src/components/search/command-palette.tsx
  • Use Radix Dialog focus trap or @radix-ui/react-focus-scope

Acceptance criteria

  • Focus trapped while palette open
  • Escape closes and restores focus
  • First result or input receives focus on open

Comments (0)

No comments yet.

Join the discussion

Sign in to leave a comment on this thread.

HollahoopGet yours