Problem/Motivation

The color contrast (black beside the hovered state of dark grey) is failing with a contrast ratio of 2.2:1.
The requirement calls for a 3:1 contrast ratio against adjacent colors for 2 types of non-text content:

Active user interface components
o Any visual boundary that indicates the active component's clickable area must have a contrast ratio of at least 3:1.
o Any visual effect that indicates the active component's state must have a contrast ratio of at least 3:1.
Additional:

Take a look at the screenshot. The arrows in red a problem. Note: the grey cannot be too light, because white letters of username and light grey need to be 4.5:1 contrast ratio.

screenshot color contrast

CommentFileSizeAuthor
Screen Shot 2022-04-06 at 2.16.48 PM.png104.6 KBmhowe91

Comments

mhowe91 created an issue. See original summary.

cilefen’s picture

It looks like this may be a duplicate and also there is a main issue, #3084529: [META] improve accessibility of toolbar.

dww’s picture

#3097907: Active toolbar tray has weak affordance and fails WCAG color criteria is specifically focused on the accessibility bug of not being able to tell which tray is open. Sounds like this issue is about the default hover style not having sufficient contrast to know what you're hovering over. Very related to #3270230: Toolbar focus styles are not sufficiently obvious to know where your focus is, which is about focus styles. But I don't know of an existing issue about hover.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

mgifford’s picture

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Active » Postponed

The Toolbar Module was approved for removal in #3476882: [Policy] Move Toolbar module to contrib.

This is Postponed. The status is set according to two policies. The Remove a core extension and move it to a contributed project and the Extensions approved for removal policies.

The deprecation work is in #3484850: [meta] Tasks to deprecate Toolbar module and the removal work in #3488828: [meta] Tasks to remove Toolbar module.

Toolbar will be moved to a contributed project before Drupal 12.0.0 is released.

quietone’s picture

Project: Drupal core » Toolbar
Version: main » 1.x-dev
Component: toolbar.module » Code
Status: Postponed » Active

Toolbar has moved to contrib