Page MenuHomePhabricator

Special:AllMessages highlights columns with yellow/green and this is not accessible in dark mode
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
Color contrast issues due to hardcoded non-standard design tokens in https://gerrit.wikimedia.org/g/mediawiki/core/+/adf0beeaabc7ded0c450abc1000a92eaeb355d16/resources/src/mediawiki.special/special.less#14

screenshot 80.png (1,297×1,064 px, 276 KB)

What should have happened instead?:
No color contrast issues

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

QA Results - PROD

ACStatusDetails
1pass per T367827#9970990

Event Timeline

Non-standard token - will need a dark mode override or a token.

ovasileva triaged this task as Medium priority.Jun 27 2024, 3:11 PM
Jdlrobson raised the priority of this task from Medium to High.Jul 1 2024, 4:45 PM

Change #1051190 had a related patch set uploaded (by Ebrahim; author: Ebrahim):

[mediawiki/core@master] Make Special:AllMessages compatible with dark mode

https://gerrit.wikimedia.org/r/1051190

Change #1051203 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/core@master] Update Special:AllMessage colors

https://gerrit.wikimedia.org/r/1051203

Change #1051190 merged by jenkins-bot:

[mediawiki/core@master] Special:AllMessages: Make colors compatible with dark mode

https://gerrit.wikimedia.org/r/1051190

Jdlrobson lowered the priority of this task from High to Low.

Change #1051203 abandoned by Bernard Wang:

[mediawiki/core@master] Update Special:AllMessage colors in dark mode

Reason:

https://gerrit.wikimedia.org/r/1051203

Test Result - Beta
Status: ✅ PASS
Environment: Beta
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

  1. https://en.wikipedia.beta.wmflabs.org/wiki/Special:AllMessages
  2. Check the unreadable text
  3. It is now passing WCAG color contrast requirements

Screenshot 2024-07-03 at 11.16.11 AM.png (2,006×704 px, 242 KB)

@Jdlrobson Please review WCAG color issue, thanks!

Test Result - PROD

Status: ❌ FAIL
Environment: PROD
OS: macOS Sonoma 14.5
Browser: Chrome 126
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps
  1. https://en.wikipedia.org/wiki/Special:AllMessages?vectornightmode=1
  2. Check the unreadable text
  3. It is now passing WCAG color contrast requirements
WCAG color contrast failed
2024-07-10_11-07-41.png (3,172×418 px, 178 KB)

That bug is tracked in T368789. We can mark this as verified!