Add accesskey support for pagers?

Created on 26 February 2022, about 3 years ago
Updated 31 May 2023, almost 2 years ago

Problem/Motivation

Is it worth considering adding the accesskey attribute in "next" and "previous" links in lists on drupal.org? In that way the user can move back and forth in lists via the keyboard.

The accesskey shortcut in different browsers:

  • Edge, IE, Chrome, Safari, Opera 15+: Alt + accesskey
  • Firefox: Alt + Shift + accesskey

See for example this web site, where you can go to Next or Previous page with Shift + Alt + n and Shift + Alt + p (Firefox):

https://docs.qgis.org/3.16/en/docs/training_manual/foreword/index.html

About the accesskey attribute:
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/acce...
https://caniuse.com/mdn-html_global_attributes_accesskey

Example drupal.org list: https://www.drupal.org/project/issues/search_api?page=1 β†’

Now, "next" link
<a title="Go to next page" href="/project/issues/search_api?page=2">next β€Ί</a>

"next" link with accesskey
<a title="Go to next page" href="/project/issues/search_api?page=2" accesskey="n">next β€Ί</a>

Now, "previous" link
<a title="Go to previous page" href="/project/issues/search_api">β€Ή previous</a>

"previous" link with accesskey
<a title="Go to previous page" href="/project/issues/search_api" accesskey="p">β€Ή previous</a>

Steps to reproduce

Proposed resolution

Implement the accesskey attribute in lists on drupal.org.

Remaining tasks

Update the code and relevant templates.

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
ViewsΒ  β†’

Last updated about 3 hours ago

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