Test finds naive dark-mode color inversion fails contrast on 3 of 10 text colors
A developer built a simplified version of Safari's Adaptive Dark Mode, which Apple announced in the Safari 27.3 beta, to see where its color transformation falls short. Using a 10-color test palette, naive RGB inversion passed the WCAG 4.5:1 contrast bar for nine colors, but the developer's luminosity-based transform failed three colors while keeping hues intact. The developer also checked nine homepages and found that five declared dark-mode support, which the author notes is a lower-bound estimate. The write-up highlights that content is left unchanged, JavaScript cannot detect the feature, and the light-only opt-out was not yet supported in the beta.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in