Skip to content

Allow moving focus to search with slash (/) #8996

Closed
@parlough

Description

@parlough

Describe the problem

Keyboard user's can't super easily navigate to search if their focus is elsewhere. Also many sites support jumping to search with /, but we don't, breaking potential user expectations.

Expected fix

Set up a / key binding to focus the search bar. If the sidenav is expanded on narrow devices, it should focus the search bar in there instead of the one at the top of the menu.

Additional context

Implemented on dart.dev in dart-lang/site-www#3844

Metadata

Metadata

Assignees

Labels

d.enhancementImproves docs with specific aske1-hoursEffort: < 8 hrsfrom.teamReported by Dash docs team memberinfra.designRelates to the design of docs.flutter.devinfra.structureRelates to the tools that create docs.flutter.devp2-mediumNecessary but not urgent concern. Resolve when possible.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions