Access search field via a keyboard shortcut with accesskey

Created on 22 October 2022, almost 2 years ago
Updated 16 August 2024, about 1 month ago

Problem/Motivation

To allow accessing the search field via a keyboard shortcut, we could use the well supported (97%) accesskey attribute, so that pressing a shortcut such as Alt + Shift + A (Firefox in Windows or Linux) would focus on the search field.

The way to activate the accesskey depends on the browser and its platform:


Proposed resolution

Define an accesskey for the search form

TODO: We could make the shortcut configurable, under for example a path like /admin/config/user-interface/admin-toolbar-search-settings ("Enable search input shortcut"), but this needs to be added.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Fixed

Version

3.0

Component

User interface

Created by

🇩🇰Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024