Page MenuHomePhabricator

Table headers do not automatically switch to white text with dark backgrounds in iOS app
Closed, ResolvedPublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):
With the Wikipedia iOS app, go to https://en.wikipedia.org/wiki/Grey%27s_Anatomy_(season_1)#Episodes.

What happens?:
Note that the table header is completely black, aside from the gray lines dividing cells. The header text is there, but it is also black like the background color, so not visible. Screenshot below.

IMG_AEB35DA5C5C7-1.jpeg (2×1 px, 776 KB)

What should have happened instead?:
Not totally sure how it works but I'm guessing the template has code that automatically decides if the text is black or white depending on the background color (specified by the user). This seems to not be working here, and always producing black text regardless of background color.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
iPhone 13 running Wikipedia iOS app 6.8.1 (1815)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
LGoto triaged this task as Medium priority.Oct 4 2021, 6:45 PM
LGoto moved this task from Needs Triage to Bug Backlog on the Wikipedia-iOS-App-Backlog board.

I would like to work on this

Jdlrobson subscribed.

The episode table template has been updated on wiki for the web roll out of dark mode.
How does this look now in apps?
https://en.wikipedia.org/wiki/Grey%27s_Anatomy_season_1#Episodes

ABorbaWMF subscribed.

No longer reproducible. Tested on 7.7.1 (4944)