feat: Allow top nav to receive keyboard focus by jhildenbiddle · Pull Request #2269 · docsifyjs/docsify
Fix #530
Summary
As described in title.
Before
- Visit https://docsify.js.org/
- Press
TAB. Notice that the keyboard focus jumps to the "docsify" link under the logo, ignoring the links found under the "Translations" menu.
After
- Navigate to this PR's preview link (below)
- Press
TAB. Notice that the "Translations" menu is displayed and the keyboard focus moves to the first link within menu.
Related issue, if any:
What kind of change does this PR introduce?
Feature
For any code change,
- No documentation changes required
- No automated tests required
Does this PR introduce a breaking change?
No
Tested in the following browsers:
- Chrome
- Firefox
- Safari
- Edge

