freeCodeCamp / freeCodeCamp/devdocs

Enable opening submenu from search results with just the keyboard

未关闭
#809 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
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 摘要。