This RFC proposes adding support for prefers-reduced-motion media query to disable animations. Animations can cause physical discomfort for some people, and we should respect user preferences in this regard.
In particular, this applies to the API docs side menu where we use animation for sliding out the drawer and for collapsing/expanding namespaces.
Description
This RFC proposes adding support for
prefers-reduced-motion
media query to disable animations. Animations can cause physical discomfort for some people, and we should respect user preferences in this regard.In particular, this applies to the API docs side menu where we use animation for sliding out the drawer and for collapsing/expanding namespaces.
Related Issues
No.
Questions
No.
Other
No.
Checklist
RFC:
.