Skip to content

feat: Allow top nav to receive keyboard focus #2269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 30, 2023
Merged

Conversation

jhildenbiddle
Copy link
Member

Fix #530

Summary

As described in title.

Before

  1. Visit https://docsify.js.org/
  2. Press TAB. Notice that the keyboard focus jumps to the "docsify" link under the logo, ignoring the links found under the "Translations" menu.

CleanShot 2023-10-16 at 13 43 16@2x

After

  1. Navigate to this PR's preview link (below)
  2. Press TAB. Notice that the "Translations" menu is displayed and the keyboard focus moves to the first link within menu.

CleanShot 2023-10-16 at 13 44 01@2x

Related issue, if any:

#530

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

@vercel
Copy link

vercel bot commented Oct 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 30, 2023 5:16am

@jhildenbiddle jhildenbiddle marked this pull request as ready for review November 2, 2023 16:01
@sy-records sy-records merged commit 4d5bf5a into develop Nov 30, 2023
@sy-records sy-records changed the title Feat: Allow top nav to receive keyboard focus feat: Allow top nav to receive keyboard focus Nov 30, 2023
@sy-records sy-records deleted the 530-navbar-focus branch November 30, 2023 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Navbar drop menus: no keyboard focus / no touch device access
3 participants