As a mildly colorblind person the available updates page provided by the update module is really annoyingly low contrast.
There isn't enough contrast in the background-colors of .color-success and .color-warning that are used to indicate wether a module should be updated or not. It's probably because Seven wants a light, pastel kind of color pallet but just a tiny bump in contrast would make a huge difference.

/**
 * Reusable colors.
 */
.color-success {
  color: #325e1c;
  background-color: #f3faef;
}
.color-warning {
  color: #734c00;
  background-color: #fdf8ed;
}
.color-error {
  color: #a51b00;
  background-color: #fcf4f2;
}

I suggest that the least drastic change would be to make .color-warning a bit darker. For instance #fbeed3 instead of #fdf8ed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

JanLaureys created an issue. See original summary.

JanLaureys’s picture

Attached a patch for the color change.

cilefen’s picture

Title: Improve color contrast on the available updates page. » Available updates page does not have sufficient color contrast
Category: Task » Bug report
Issue tags: -update, -Seven +a11y, +Accessibility
cilefen’s picture

I do not know the Drupal standards but there are some online verifications.

JanLaureys’s picture

Issue summary: View changes
Bojhan’s picture

Status: Active » Closed (works as designed)

These are ornamental colours. We use images to explain the errors. Making these match contrast guidelines is not required by WCAG 2.0 AA, therefore we do not comply. This is an intentional design choice.

mgifford’s picture

Status: Closed (works as designed) » Needs review

Sorry Bojhan, where does it say that "ornamental colours" are excluded from WCAG?

https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contras...

We're talking about the color of the foreground text & background, right?

Bojhan’s picture

Ah, my bad. The design used here is pretty poor - sadly :( We actually have a redesign issue.

mgifford’s picture

Cool. What's the issue number?

mgifford’s picture

Issue tags: +govcon2016

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

andrewmacpherson’s picture

Issue tags: -a11y

Tag clean up: "accessibility" is the preferred one. The "a11y" tag doesn't have many issues so I'm moving them all to "accessibility".

wturrell’s picture

Status: Needs review » Needs work

Using the WebAIM checker cilefen mentioned:

Current:
#734c00 on #fdf8ed
passes WCAG AA and AAA normal and large text.

Proposed:
#734c00 on #fbeed3
fails WCAG AAA normal size.

Also the Issue Summary mentions both .color-success and .color-warning, but the patch only includes the latter.

mgifford’s picture

Issue tags: +color contrast

It looks like we are getting a request for AAA contrast on this vs AA. @JanLaureys am I missing something?

.color-warning #325e1c on #f3faef is OK.

.color-warning #734c00 on #fdf8ed is OK.

.color-error #a51b00 on #fcf4f2 is OK.

Btw, I love that http://contrast-finder.tanaguru.com gives suggestions if it doesn't meet the required contrast.

Bojhan’s picture

We have AA contrast compliance across core.

mgifford’s picture

Status: Needs work » Postponed (maintainer needs more info)

@Bojhan agreed. AAA is always nice, but not required. I might be missing something, but marking this as postponed for now.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.6 was released on August 2, 2017 and is the final full bugfix release for the Drupal 8.3.x series. Drupal 8.3.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.4.0 on October 4, 2017. (Drupal 8.4.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.4.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.4 was released on January 3, 2018 and is the final full bugfix release for the Drupal 8.4.x series. Drupal 8.4.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.5.0 on March 7, 2018. (Drupal 8.5.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.5.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.6 was released on August 1, 2018 and is the final bugfix release for the Drupal 8.5.x series. Drupal 8.5.x will not receive any further development aside from security fixes. Sites should prepare to update to 8.6.0 on September 5, 2018. (Drupal 8.6.0-rc1 is available for testing.)

Bug reports should be targeted against the 8.6.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.8.x-dev

Drupal 8.6.x will not receive any further development aside from security fixes. Bug reports should be targeted against the 8.8.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.9.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)
Issue tags: +Bug Smash Initiative

Thanks for reporting this issue. We rely on issue reports like this one to resolve bugs and improve Drupal core.

As part of the Bug Smash Initiative, we are triaging issues that are marked "Postponed (maintainer needs more info)". Given that, as noted previously, the page meets AA standards, this is in line with the official Drupal accessibility policy so I am going to mark it Closed (works as designed).

I think that raising the topic of meeting AAA standards would be a feature request and would require discussion and consideration.