This can be somewhat of a tracking task for instances of articles that have a table that looks weird or unreadable in dark mode.
The vast majority of these cases are due to an explicit background-color attribute being specified in the table cells (either in the template that generates the table, or in the actual element tag). The problem is that we can't blindly override background colors of tables or other elements, because in a large number of cases the color actually matters, and must not be overridden.
One possible long-term solution would be to empower and encourage wiki editors to no longer specify hard-coded background colors in tables where they're not necessary. Whenever hard-coded backgrounds are observed, communicate with the editors of that template or table, and ask whether the background can be removed, or at least modified to be readable in both light and dark themes.
Until then, we're limited to overriding just a subset of possible cases of background colors, and certain edge cases will be bound to slip through.
A few example articles:
- list of celebrity death match episodes (black text on black background in episode descriptions )
- list of secret world of Alex Mack episodes (white text on white background in headers)
- west wing (season 7) episodes section (black text on black background in headers)
- for Matt Davidson, should his name in the info box be white (this seems to transcribe over to most athlete pages universally)
- Francisco lindor, there’s a “medals” in that infographic that’s similarly obscured
- Francisco lindor, the info box is missing the theming for the sub-boxes, in this case blue and orange
- Andy Ashby has a lot of obscured black text in that info box in dark mode
- nolan Ryan, the hall of fame section of the top info box has some theming issues
- Nate mcmilllan; his coaching record table, the legend has white text on white background and is hence obscured in dark mode as well
- baker mayfield career statistics section, table header text obscured
- Maria Andrejczyk, the 2nd and 3rd instance of “javelin throw” is completely hidden in the top info box, only the first instance appears as it’s hyperlinked
- Mars Volta discography page summary table has issues in dark mode with white text displaying clearly
Previous description for context
From email:
I've been using the Wikipedia Android app for a while and I've been noticing an issue lately.
Basically, whenever I'm on a page with a chart, say for example if it's an article about a TV show and there's a chart for the list of episodes, I'm noticing some of the next is hard to read. Its basically showing white text on a white background.
This is happening on multiple Android phones even using the latest app version and Android 11.
See attached screenshots, the titles of the episodes are unreadable. Its only readable when a piece of text is hyperlinked to another page.
Even if I change to the darker dark node, same thing.
Maybe there's someway of making that text or background in charts like that to grey or same as the dark node colour?
Possibly related to https://phabricator.wikimedia.org/T264687? (although this is apparently happening in all themes)