RESOLVED FIXED Bug 225281
Implement forced-colors media query
https://bugs.webkit.org/show_bug.cgi?id=225281
Summary Implement forced-colors media query
Tim Nguyen (:ntim)
Reported 2021-05-02 08:41:41 PDT
forced-colors mode is a Windows only accessibility feature, Firefox does allow you to force enable it on other platforms, but for by default it's also mostly for Windows (it's enabled with Windows High contrast mode). For reference, it forces colors on a webpage to be contrasting, by changing them without the webpage's consent. Since iOS/macOS has no such thing, so it's reasonable to implement a placeholder where: (forced-colors) or (forced-colors: active) return false and (forced-colors: none) returns true. That will allow webpages to use it (since Firefox & Chromium support it), and expect correct results on WebKit.
Attachments
Tim Nguyen (:ntim)
Comment 1 2021-05-02 08:42:39 PDT
Radar WebKit Bug Importer
Comment 2 2021-05-09 08:42:13 PDT
Matthieu Dubet
Comment 3 2022-08-09 08:18:51 PDT
EWS
Comment 4 2022-08-10 05:52:24 PDT
Committed 253290@main (46513cc172ce): <https://commits.webkit.org/253290@main> Reviewed commits have been landed. Closing PR #3148 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.