Skip to content

Improve keyboard accessibility for menus (Escape + focus management) #870

@Ovgodd

Description

@Ovgodd

Feature Request

Problem

Escape doesn’t close all menus from the toolbar; some panels/menus don’t focus the first item on open.

Solution

  • Escape closes any open menu/panel.
  • Focus first actionable item on open.
  • Restore focus to trigger on close.
  • Use refs/scoped queries (no global querySelector).

Discovery/Docs
Add a short focus pattern snippet to frontend docs.

PR?
Yes.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions