Skip to content

♿️(frontend) restore focus to triggers after closing menus and modals#1863

Open
Ovgodd wants to merge 1 commit intomainfrom
fix/a11y-restore-focus
Open

♿️(frontend) restore focus to triggers after closing menus and modals#1863
Ovgodd wants to merge 1 commit intomainfrom
fix/a11y-restore-focus

Conversation

@Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Feb 5, 2026

Purpose

Restore consistent focus behavior after closing menus, modals, and emoji pickers to improve keyboard accessibility and avoid focus loss across the UI.

Proposal

  • Centralize focus restoration with a small helper hook
  • Ensure triggers regain focus after closing overlays (menus/modals/emoji)

@Ovgodd Ovgodd requested a review from AntoLC February 5, 2026 09:59
@Ovgodd Ovgodd self-assigned this Feb 5, 2026
@Ovgodd Ovgodd changed the title ♿️(frontend) restore focus to triggers after menus and modals ♿️(frontend) restore focus to triggers after closing menus and modals Feb 5, 2026
Ensure focus returns to the correct trigger after closing UI overlays
@Ovgodd Ovgodd force-pushed the fix/a11y-restore-focus branch from c4b54dc to b3fb9d5 Compare February 5, 2026 10:00
@Ovgodd Ovgodd marked this pull request as ready for review February 5, 2026 10:00
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

Size Change: +447 B (+0.01%)

Total Size: 4.2 MB

Filename Size Change
apps/impress/out/_next/static/1b7fd836/_buildManifest.js 0 B -831 B (removed) 🏆
apps/impress/out/_next/static/eeab651e/_buildManifest.js 830 B +830 B (new file) 🆕

compressed-size-action

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.

1 participant