Provide a way to emulate prefers-reduced-motion media feature
Categories
(DevTools :: General, enhancement, P3)
Tracking
(Accessibility Severity:s4, relnote-firefox 155+, firefox155 fixed)
People
(Reporter: hiro, Assigned: sebo, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: access, dev-doc-needed)
Attachments
(1 file, 2 obsolete files)
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Updated•5 years ago
|
Updated•3 years ago
|
Is this bug still blocked? How is this different from emulating preferred color scheme? With "Directive (EU) 2019/882 on the accessibility requirements for products and services" inching closer and closer, it would be very useful to have quick toggle for prefers-reduced-motion in DevTools.
Updated•1 year ago
|
| Assignee | ||
Comment 4•4 months ago
|
||
A new PrefersReducedMotionOverride flag has been added to the browsing context, which allows overriding the prefers-reduced-motion media query for a given browsing context.
Updated•4 months ago
|
| Assignee | ||
Comment 5•4 months ago
|
||
A new toggle to simulate the prefers-reduced-motion media feature has been added to the Inspector's Rules View toolbar.
| Assignee | ||
Comment 6•4 months ago
|
||
Note that I just added a new toggle button for that for now. Though we should start looking into how we can group all the emulation features (see bug 1692434 and https://github.com/firefox-devtools/ux/issues/134) to avoid further UI clutter.
Sebastian
Updated•4 months ago
|
Comment 7•4 months ago
|
||
Comment on attachment 9569039 [details]
Bug 1477920 - [devtools] Added prefers-reduced-motion override to BrowsingContext. r=emilio,#devtools-reviewers,nchevobbe
Revision D293705 was moved to bug 2032580. Setting attachment 9569039 [details] to obsolete.
Updated•1 month ago
|
| Assignee | ||
Comment 8•1 month ago
|
||
Comment 10•1 month ago
|
||
| bugherder | ||
Comment 11•1 month ago
|
||
Did you want to nominate this for the Fx155 relnotes? Possible wording:
Inspector now offers a toggle to simulate the
prefers-reduced-motionsetting.
| Assignee | ||
Comment 12•1 month ago
|
||
Yes, thanks for the reminder, Ryan! Note that we concluded that it's better to name those features "emulations" instead of "simulations". Also, this should be mentioned together with the related bug 1692434, which was used to rework the UI. I'd say it's fine to merge both notes, though feel free to split them into two.
[Why is this notable]: New emulation feature in the DevTools
[Affects Firefox for Android]: no
[Suggested wording]: The emulation options now got moved into a new emulation panel, available behind the @ button in the Rules View. And it also offers new toggles to emulate the prefers-reduced-motion media feature.
[Links (documentation, blog post, etc)]:
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/At-rules/@media/prefers-reduced-motion
(The DevTools docs still need to be updated. Though if I get them in time, they could be linked.)
Sebastian
Updated•24 days ago
|
Description
•