Skip to content

Conversation

@rahman-D3V
Copy link

What this does

  • Adds a global Ctrl + K / Cmd + K keyboard shortcut to open the navbar search
  • Displays a keyboard shortcut hint next to the search icon on desktop

Why

This improves search discoverability and matches common UX patterns used in modern developer-focused websites.

Fixes #4031

Implementation details

  • Reuses the existing search toggle behavior
  • Plain JavaScript, no new dependencies
  • Desktop-only visual hint; mobile UI remains unchanged

Testing done

  • Verified locally using jekyll serve
  • Tested keyboard shortcut and click behavior
  • Confirmed no layout changes on mobile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant