'How do I change the `prefers-reduced-motion` setting in browsers?

There is plenty of documentation around on how to use the prefers-reduced-motion media query in CSS.

This is great but now that I'm using prefers-reduced-motion in my CSS, I want to be able to test what using my site is like for someone that has this setting enabled. I can't find any information on how to do this though and I'm having difficulty finding this as a setting in browser settings.

Maybe this isn't a browser setting at all. Maybe this is something that is set at the Operating System level. 🤔



Solution 1:[1]

This should be an OS setting, I know in Mac OS it is under: System Preferences > Accessibility > Display > Reduce motion.

In Windows 10: Settings > Ease of Access > Display > Show animations in Windows.

More info:

https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion

Also please note not all browsers support or honor the setting

Solution 2:[2]

As per the other answers, this is an OS setting.

However, for testing, Chromium-based browsers allow you to temporarily change the setting from the developer tools:

To simulate the operating system's reduced motion setting, without having to change your operating system setting:

  1. Press Ctrl+Shift+P on Windows/Linux or Command+Shift+P on macOS to open the Command Menu.

  2. Type reduced, to turn the simulation on and off. Select the Emulate CSS prefers-reduced-motion option, and then press Enter.

  3. Refresh the webpage and check whether your animations run.

Source: Microsoft Edge docs on "Simulate reduced motion" (but not specific to Edge).

Solution 3:[3]

I work at ScyllaDB

There are two tools that can be used to help find the differences:

Please post a bug on https://github.com/scylladb/scylla/issues if indeed there are missing rows.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 TomTom
Solution 2 just-max
Solution 3 Shlomi Livne