Seven inactive tabs do not meet WCAG AA 1.4.3 for contrast

Created on 13 December 2017, almost 7 years ago
Updated 19 April 2023, over 1 year ago

Problem/Motivation

The inactive tabs in the Seven theme do not meet WCAG AA section 1.4.3 requirements for text contrast.

To reproduce,
1. Login to drupal 8
2. Navigate to /admin/content
3. Run DAP Chrome plugin or other WCAG compliance checker on page
4. See a message similar to the following.

"Minimum contrast of 4.21 with its background is not sufficient to meet WCAG AA requirements for text of size 13.008px and weight of 400."

See attached screenshots for details.

Proposed resolution

Review current colors and backgrounds for inactive tabs and determine a suitable change that is in line with the Seven theme styles that also passes WCAG AA.

Remaining tasks

User interface changes

Update Seven tabs styles to increase contrast for inactive tabs.

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sdewitt

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.

  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

  • Needs accessibility review

    Used to alert the accessibility topic maintainer(s) that an issue significantly affects (or has the potential to affect) the accessibility of Drupal, and their signoff is needed (see the governance policy draft for more information). Useful links: Drupal's accessibility standards, the Drupal Core accessibility gate.

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.

  • πŸ‡΅πŸ‡­Philippines roberttabigue

    Hi @marcusvsouza,

    I can still reproduce the Contrast issue after applying patch #54 to the Seven contrib theme 1.0.0-alpha1 as a Default theme and with Drupal core version of 9.5.6.

    Moving this to "Needs work" and please see the attached screenshot for reference.
    Thanks.

Production build 0.71.5 2024