tabindex should be added to route:<nolink> links

Created on 29 June 2018, over 6 years ago
Updated 15 February 2023, over 1 year ago

So I'm not sure if this is a 100% for sure thing in all cases of route:nolink so maybe some other creative solutions can be thought of, but in the following use case one most definitely needs a tabindex attribute on the link which is created by the LinkGenerator class.

In menus, when you make a top level menu link with route:nolink, it is not output with a tabindex=0 attribute, so the menu will never gain focus with keyboard navigation.

🐛 Bug report
Status

Closed: works as designed

Version

9.1

Component
Markup 

Last updated 7 days ago

No maintainer
Created by

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

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

No activities found.

Production build 0.71.5 2024