Regression: vertical tabs are not keyboard accessible.

Created on 25 September 2015, over 9 years ago
Updated 16 February 2025, about 2 months ago

Regression: vertical tabs are not keyboard accessible.

Problem/Motivation

The vertical tabs javascript has been refactored and improved in D8, however an accessibility problem has been introduced.

In D7, a sighted keyboard user can use the keyboard to tab through the vertical tabs, and access any tab they want by pressing enter when the when the desired tab is focussed.

In D8, when a keyboard user arrives at a vertical tabset using the tab key, they become stuck at the first tab. Pressing tab again should allow the user to cycle through all tabs to select the one they want. The upshot is that some configuration options will NOT be available at all to keyboard users. For example, a keyboard user will be prevented from turning off the "Display author and date information" option for node types.

This is somewhat mitigated for screenreader users, as the vertical tab links are inside list-items. Many screenreaders provide controls to cycle through list-items, so there is a workaround route to select the desired tab.

Proposed resolution

Fix it. D8 behaviour should stay the same as D7.

Remaining tasks

User interface changes

bug fix - make it work as intended. Restore the D7 behaviour for keyboard navigation.

API changes

None proposed.

Data model changes

None proposed.

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
🐛 Bug report
Status

Fixed

Version

8.0 ⚰️

Component

javascript

Created by

🇬🇧United Kingdom andrewmacpherson

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.

  • Regression

    It restores functionality that was present in earlier versions.

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.

Production build 0.71.5 2024