Open Bug 1681925 Opened 4 years ago Updated 6 months ago

Support for the prefers-reduced-data media query feature

Categories

(Core :: CSS Parsing and Computation, enhancement)

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

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core

We support this, what am I missing?

Flags: needinfo?(709922234)

Err, sorry, I somehow read prefers-reduced-motion.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(709922234)

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?

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

See Also: → 1232812

We need to know which OS signals to use to know where to match this. Is it just when a metered connection exists?

(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

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.

Seconding the above. Turning it on and getting telemetry would be a great first step.

You need to log in before you can comment on or make changes to this bug.