freeCodeCamp / freeCodeCamp/devdocs

Enable opening submenu from search results with just the keyboard

Ouverte
#809 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Ruby
Étoiles
39.5k
Forks
2.6k
Merge moyen
4 j 32 min
PR mergées (30 j)
13

Description

The keyboard shortcut help mentions that you can use `→` and `←` to show/hide sublists in the sidebar. This works when you have search, but if you have searched for something then the arrow keys just move your cursor in the search box. This behavior was not what I expected when I read the docs.

The currently-selected search result often may have a sub-list. If you hit `enter` to select something (for example, the Ruby `String` class), then it will show a hamburger menu in the search result and focus the main page. There is no way via keyboard alone to click the hamburger menu, and it would be nice if that was possible. In fact, that was what I assumed the `←` and `→` keys would do when I first read the documentation.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.