Skip to content

Conversation

@Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Jan 19, 2026

Purpose

Improve keyboard focus management in the docs tree/editor flow: auto-focus title on open, Escape returns focus to the correct tree item, and EmojiPicker Escape returns focus to the originating tree item, including sub-doc cases.

focus.mp4

Proposal

  • Focus title only when appropriate (avoid focus traps when re-opening a doc)
  • F6 from editor/title returns focus to the right tree item (selected/focused/root)
  • EmojiPicker Escape returns focus to the correct tree row (including sub-docs)
  • Centralize CSS selectors in a single cssSelectors object for reuse

@Ovgodd Ovgodd requested a review from AntoLC January 19, 2026 13:20
@Ovgodd Ovgodd self-assigned this Jan 19, 2026
@Ovgodd Ovgodd force-pushed the fix/access-docs-focus branch 2 times, most recently from 7df466c to 2eef27e Compare January 19, 2026 13:21
@github-actions
Copy link

github-actions bot commented Jan 19, 2026

Size Change: +874 B (+0.02%)

Total Size: 4.17 MB

Filename Size Change
apps/impress/out/_next/static/522f848c/_buildManifest.js 0 B -848 B (removed) 🏆
apps/impress/out/_next/static/a56af491/_buildManifest.js 848 B +848 B (new file) 🆕
apps/impress/out/_next/static/chunks/8495.js 63.5 kB +876 B (+1.4%)

compressed-size-action

@Ovgodd Ovgodd force-pushed the fix/access-docs-focus branch 2 times, most recently from 7fc1e0f to bbe9e13 Compare January 19, 2026 18:10
improves keyboard navigation and accessibility when content is displayed
@Ovgodd Ovgodd force-pushed the fix/access-docs-focus branch from bbe9e13 to e47b02b Compare January 20, 2026 08:41
@Ovgodd Ovgodd marked this pull request as ready for review January 20, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants