css.at-rules.media.forced-colors - Maybe add a note about Apple devices?

Open Beginner friendly
#27,143 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Active
Tech stack
css
Domain
documentation

Research direction

Start with the MDN forced-colors media feature page linked in the issue and inspect its browser compatibility and explanatory content. Add a concise note describing how Safari handles forced-colors mode and Apple accessibility contrast settings, then verify that the page accurately reflects the reported behavior.

Written by the indexing model from the issue text.

Description

browser:safari data:css p4 platform limitation
What type of issue is this?

Other

What information was incorrect, unhelpful, or incomplete?

Apple devices do have accessibility settings that allow users to have more contrast, or inverted colors, but to my knowledge, these settings do not trigger forced-colors mode on web pages displayed in Safari.

So, saying that Safari fully supports the forced-colors media feature is both correct and a bit incomplete. Yes, it supports the feature in the sense that the browser will do the right thing when it sees the media feature (i.e. the rules within it won't get applied). But perhaps adding a note that says that Safari doesn't actually ever go into forced colors mode, would be nice.

What browsers does this problem apply to, if applicable?

Safari

What did you expect to see?

A note about the fact that Apple devices' color contrast accessibility settings do not trigger forced colors mode in Safari.

Did you test this? If so, how?

I turned on the increased contrast setting on a macBook, and observed that the web content in Safari did not apply CSS rules placed inside a forced-colors rule.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors

MDN metadata
MDN page report details
  • Query: css.at-rules.media.forced-colors
  • Report started: 2025-06-25T14:51:19.820Z
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mdn/browser-compat-data

All issues in mdn/browser-compat-data

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.