⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@Ovgodd
Copy link
Collaborator

@Ovgodd Ovgodd commented Dec 17, 2025

Purpose

Improve keyboard accessibility when opening the emoji picker
by focusing the input field automatically. Also fix keyboard interaction with
subdocuments using the Enter key.

Proposal

Automatically place focus on the search input when the emoji picker opens.
Additionally, ensure that pressing Enter correctly selects subdocuments,
improving keyboard usability.

  • Focus emoji picker input on open
  • Fix Enter key handling on subdocuments

@Ovgodd Ovgodd requested a review from AntoLC December 17, 2025 13:58
@Ovgodd Ovgodd self-assigned this Dec 17, 2025
@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch from 70177ca to 7c90e7f Compare December 17, 2025 13:59
@Ovgodd Ovgodd marked this pull request as ready for review December 17, 2025 13:59
@github-actions
Copy link

github-actions bot commented Dec 17, 2025

Size Change: +88 B (0%)

Total Size: 4.17 MB

Filename Size Change
apps/impress/out/_next/static/5ac30531/_buildManifest.js 0 B -891 B (removed) 🏆
apps/impress/out/_next/static/b8bb76a3/_buildManifest.js 891 B +891 B (new file) 🆕

compressed-size-action

Comment on lines 113 to 120
useKeyboardActivation(
['Enter'],
isActive && !menuOpen,
handleActivate,
true,
'.c__tree-view',
);

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need it anymore, this commit (suitenumerique/ui-kit@c121fdd#diff-69b4765cf5a180b5d5c2157eb0132487a6c0b7b7fb1dc379250ce110ac162e2eR27) adds onKeyDown, so here you can add directly what you need now.
You have to bump to the last ui-kit version though.

Copy link
Collaborator Author

@Ovgodd Ovgodd Jan 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

has talk together, waiting for updates on your side because change @gouvfr-lasuite/ui-kit": "0.18.4" to .5 or .6 seems to break

@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch 3 times, most recently from 1955c20 to 5e197f3 Compare January 9, 2026 08:42
@socket-security
Copy link

socket-security bot commented Jan 9, 2026

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch from 5e197f3 to 2560f59 Compare January 9, 2026 08:46
@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch from 1e0c43c to 0893d19 Compare January 19, 2026 09:16
@AntoLC AntoLC force-pushed the fix/a11y-emoji-picker-focus-and-enter branch from 0893d19 to 1239a99 Compare January 19, 2026 10:07
@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch 3 times, most recently from 7c0183c to 45bb502 Compare January 19, 2026 10:33
@Ovgodd Ovgodd requested a review from AntoLC January 19, 2026 10:34
@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch from cdcb6e6 to 4e990b0 Compare January 19, 2026 10:59
ensures subdoc opens and emoji picker focus on input

Signed-off-by: Cyril <[email protected]>
@Ovgodd Ovgodd force-pushed the fix/a11y-emoji-picker-focus-and-enter branch from 4e990b0 to 68df717 Compare January 19, 2026 10:59
@Ovgodd Ovgodd merged commit 68df717 into main Jan 19, 2026
32 of 35 checks passed
@Ovgodd Ovgodd deleted the fix/a11y-emoji-picker-focus-and-enter branch January 19, 2026 11:55
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.

3 participants