freeCodeCamp / freeCodeCamp/devdocs

Enable opening submenu from search results with just the keyboard

オープン
#809 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Ruby
スター
39.5k
フォーク
2.6k
平均マージ
4日 32分
マージ済み PR(30日)
13

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。