lit / lit/lit.dev

[search]: "/" hotkey to focus on search input

Open
#426 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
142
Forks
230
PR merge metrics
No merged PRs in 30d

Description

See https://developer.mozilla.org/en-US/.

Pressing the "/" key jumps to the search box and that can be quite convenient.

Investigate adding this feature, as well as communicating it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the site's search input and existing keyboard handling, using the linked MDN reference for the expected slash-key behavior. Done means pressing "/" focuses the search box and the shortcut is communicated to users.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, search
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.