For iOS Safari, the color of status bar remains white even if dark mode is on. Because of <meta name="theme-color" content="#ffffff" /> #7884
Labels
contrast
issues related to low contrast, especially in dark mode
dark-mode
Issues related to dark/light mode
effort: medium
This task is a medium effort.
frontend
general frontend issues
has PR
Issues that already have a PR
needs decision from engineering
p3
We don't have visibility when this will be addressed.
Summary
There is such a line in yari/client/public/index.html:
<meta name="theme-color" content="#ffffff" />
This code restricts the color of status bar to white in Safari for iOS.
Therefore, status bar remains white even if dark mode is on in iOS, which is glaring at night.
Note: this issue doesn't only happen on
developer.mozilla.org
, but also onsupport.mozilla.org
.URL
https://developer.mozilla.org
Reproduction steps
https://developer.mozilla.org
.Expected behavior
The color of status bar follows dark mode.
Actual behavior
The color of status bar remains white
Device
Smartphone
Browser
Safari
Browser version
Stable
Operating system
iOS
Screenshot
No response
Anything else?
No response
Validations
The text was updated successfully, but these errors were encountered: