Description
On the Joomla.org homepage, there is a search bar at the top. Currently, users need to manually click into the search field to start typing.
A very common UX improvement (as seen on GitHub, Notion, Figma, etc.) is to allow pressing Ctrl + K (or Cmd + K on macOS) to auto-focus the global search input.
Steps to reproduce
-Visit https://joomla.org/
-Press Ctrl + K
-Nothing happens (search input is not focused)
Expected behavior
Pressing:
-Ctrl + K (Windows/Linux)
-Cmd + K (Mac)
…should focus the main search input automatically so users can start typing immediately.
Why this is useful
-improves discoverability of search
-faster navigation
-familiar shortcut UI pattern
-improves accessibility
-reduces clicks
Suggested implementation approach
-add global keydown listener
-check for Ctrl/Cmd + K
-preventDefault()
-focus the search input
-optionally highlight text
I'd love to work on this
If this feature is relevant, I'd be happy to submit a PR implementing it. Please let me know if this is accepted.
Description
On the Joomla.org homepage, there is a search bar at the top. Currently, users need to manually click into the search field to start typing.
A very common UX improvement (as seen on GitHub, Notion, Figma, etc.) is to allow pressing Ctrl + K (or Cmd + K on macOS) to auto-focus the global search input.
Steps to reproduce
-Visit https://joomla.org/
-Press Ctrl + K
-Nothing happens (search input is not focused)
Expected behavior
Pressing:
-Ctrl + K (Windows/Linux)
-Cmd + K (Mac)
…should focus the main search input automatically so users can start typing immediately.
Why this is useful
-improves discoverability of search
-faster navigation
-familiar shortcut UI pattern
-improves accessibility
-reduces clicks
Suggested implementation approach
-add global keydown listener
-check for Ctrl/Cmd + K
-preventDefault()
-focus the search input
-optionally highlight text
I'd love to work on this
If this feature is relevant, I'd be happy to submit a PR implementing it. Please let me know if this is accepted.