Page MenuHomePhabricator

Address color contrast issues in .wikitable
Closed, ResolvedPublic2 Estimated Story Points

Description

Background

Our tables currently have color contrast issues due to use of non-standard tokens that will soon be formalized in Codex. While we have worked around this in the mean time for mobile, we need to resolve this ticket in such a way that this bug doesn't propagate to the desktop Vector 2022 skin.

User story

As a user viewing a table, I want it to be accessible and themed accordingly to the theme I have chosen.

Acceptance criteria

Communication criteria - does this need an announcement or discussion?

None needed.

QA steps

https://en.m.wikipedia.beta.wmflabs.org/wiki/Ethiopian_wolf?minervanightmode=1#Subspecies
This text is unreadable:

Screenshot 2024-03-07 at 5.07.09 PM.png (308×1 px, 57 KB)

QA Results - Beta

ACStatusDetails
1T357998#9685731

QA Results - Prod

ACStatusDetails
1T357998#9686838

Related Objects

StatusSubtypeAssignedTask
OpenJdrewniak
OpenJdrewniak
Openovasileva
ResolvedJdlrobson
Openovasileva
Openovasileva
ResolvedJdlrobson
Resolvedovasileva
ResolvedBUG REPORTJdlrobson
ResolvedBUG REPORTJScherer-WMF
OpenNone
Resolvedovasileva
ResolvedVolker_E
ResolvedBUG REPORTovasileva
Openovasileva
ResolvedBUG REPORTovasileva
ResolvedBUG REPORTabi_
ResolvedBUG REPORTNikerabbit
ResolvedBUG REPORTovasileva
ResolvedJdlrobson
ResolvedBUG REPORTJdlrobson

Event Timeline

Jdlrobson changed the task status from Open to Stalled.Feb 22 2024, 1:06 AM
Jdlrobson triaged this task as Medium priority.
Jdlrobson subscribed.

Needs examples.

Jdlrobson renamed this task from Address undiagnosed color contrast issues in <table> or `.wikitable` to Address color contrast issues in .wikitable.Feb 27 2024, 4:40 PM
Jdlrobson changed the task status from Stalled to Open.

Change 997978 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Skin: Use design tokens rather than hardcoded values

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

ovasileva raised the priority of this task from Medium to High.Mar 11 2024, 5:50 PM

Change 1010317 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/core@master] Skin: Use design tokens rather than hardcoded values

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

Change 1010320 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Minerva should use content-tables ResourceLoaderSkinModule feature

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

Change 1010339 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Set color on tables

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

Change 1010339 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Set color on tables

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

This is waiting on the next Codex release so now we are unblocked we can reschedule this for sprint 6.

Jdlrobson lowered the priority of this task from High to Medium.Mar 12 2024, 5:27 PM

Change 997978 abandoned by Jdlrobson:

[mediawiki/core@master] Skin: Use LESS variable for design tokens rather than CSS variables

Reason:

Merged into https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1010317/1?usp=related-change

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

Change 1010317 merged by jenkins-bot:

[mediawiki/core@master] Skin: Use design tokens rather than hardcoded values

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

Jdlrobson raised the priority of this task from Medium to High.Mar 20 2024, 4:00 PM
Jdlrobson updated the task description. (Show Details)
Jdlrobson updated the task description. (Show Details)

Change #1010320 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Minerva should use content-tables ResourceLoaderSkinModule feature

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

Change #1015982 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] Define background-color-neutral in night mode palette

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

Jdlrobson added a subscriber: Edtadros.
bwang removed bwang as the assignee of this task.Apr 1 2024, 10:41 PM
bwang moved this task from Code Review to QA on the Web-Team-Backlog (FY2023-24 Q3 Sprint 6) board.
bwang subscribed.

Change #1015982 merged by jenkins-bot:

[mediawiki/skins/MinervaNeue@master] Define background-color-neutral in night mode palette

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

Test Result - Beta

Status: ✅ PASS
Environment: beta
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

https://en.m.wikipedia.beta.wmflabs.org/wiki/Ethiopian_wolf?minervanightmode=1#Subspecies
✅ AC1: The table headings should be readable.

screenshot 161.png (826×1 px, 275 KB)

Test Result - Prod

Status: ✅ PASS
Environment: cawiki
OS: macOS Sonoma
Browser: Chrome
Device: MBA
Emulated Device:NA

Test Artifact(s):

QA Steps

https://ca.m.wikipedia.org/wiki/Historial_de_versions_d%27Android?minervanightmode=1
✅ AC1: The table headings should be readable.

screenshot 190.png (1×1 px, 268 KB)