Better keyboard navigation/selection
See original GitHub issueUse case
You have autoFocus
on and now you want to search for an emoji and quickly select it (preferably without a mouse, because that’s faster).
Currently
What you can do currently is:
- search for it
- press <kbd>Tab</kbd> multiple times to navigate to the right position (two times as far as I see) to get to the first emoji
- use <kbd>Tab</kbd> again (or <kbd>shift</kbd>+<kbd>Tab</kbd>) to go through the list item by item…
- enter/space to select emoji
Proposed solution
- When you are in the input field an <kbd>🔽</kbd> (arrow down) should bring you (the focus) to the list of emojis, i.e. actually to the first emoji in that list.
- The focus style should be improved, so you can see what (also an accessibility improvement) is selected.
- use the keyboard keys to navigate the list of emojis in a grid-style (currently: if you use up/down arrows, it scrolls the scrollbar)
- Just press <kbd>space</kbd> or <kbd>enter</kbd> as usual to select an emoji.
- When you are at the top row of your emojis. <kbd>🔼</kbd> (arrow up) should bring you (the focus) to the search bar.
- <kbd>Tab</kbd> navigation should obviously still be possible.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Keyboard navigation
Navigate user interfaces ; Arrow keys. Move selection between items in a single control, or among a set of related controls. Use the...
Read more >22 Best Keyboard Shortcuts You're Not Using - Laptop Mag
22 of the best keyboard shortcuts you're not using · CTRL + F: Search for text · CTRL + Click / Shift +...
Read more >How do I navigate around Microsoft Windows using only a ...
Many keyboards have a Windows key which will bring up the start menu. The keyboard combination Ctrl+Esc also brings up this menu. The...
Read more >How to Navigate Windows Using a Keyboard - Computer Hope
Once you've located and selected the program you want to run, press the Enter key. Tip. You can quickly open a program by...
Read more >Using Keyboard-only Navigation, for Web Accessibility
The keyboard shortcuts that people use with most desktop software are ... Arrow keys are used to navigate between options in a select...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I created a new branch and implemented some of the above suggestions. Would you be able to take a look at my PR? Where can I get permission to push?
Okay, good idea. However, I’d argue that:
So anyway yes, we can add those.