Support for the prefers-reduced-data media query feature
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
People
(Reporter: 709922234, Unassigned)
References
(Blocks 1 open bug, )
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:85.0) Gecko/20100101 Firefox/85.0
Comment 2•4 years ago
|
||
Err, sorry, I somehow read prefers-reduced-motion.
Comment 3•4 years ago
|
||
I would also like to see this. Was looking for the option in dev tools a few minutes ago. I guess that emulation would follow the support for the media query?
Comment 4•4 years ago
|
||
This came up in a conversation just now with a friend in Texas who has been struggling with reliable internet in this snowstorm that has knocked out most of the state. It would be really useful if people could choose a low bandwidth option.
Plus there's just the environmental cost.
https://www.websitecarbon.com/
This should just be the norm, but perhaps there is a use case for the high bandwidth images. Let's support this in FF:
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion
Comment hidden (advocacy) |
Comment 6•3 years ago
|
||
We need to know which OS signals to use to know where to match this. Is it just when a metered connection exists?
Comment 7•3 years ago
|
||
(Other than that it should be trivial-ish to implement)
Here's some research into OS signals https://github.com/w3c/csswg-drafts/issues/4833
Here's some records of CSSWG discussion https://github.com/w3c/csswg-drafts/issues/2370
Comment 9•2 years ago
|
||
Would it be possible to add an “Ask websites to reduce data” checkbox to Firefox’s settings and tie it to CSS prefers-reduced-data? You could add the preference to General > Language and Appearance > Data use, or create a new section for it. This could be the initial implementation (+ use telemetry to track how many people turn it on), and then you could always add OS signals later on a per-OS basis.
Comment 10•2 years ago
|
||
Seconding the above. Turning it on and getting telemetry would be a great first step.
Description
•