flarum / flarum/framework

[A11Y] Use `prefers-reduced-motion` to calm animations

Open
#3,517 0 comments 0 reactions 0 assignees View on GitHub
type/accessibility
Dominant language
PHP
Stars
6.7k
Forks
883
Avg merge
15h 16m
Merged PRs (30d)
73

Description

People with inner ear conditions can become nauseous and physically sick from web animations.

We should NOT remove animations, but instead of fast zooms or slides, we should favour opacity fades.

https://css-tricks.com/empathetic-animation/#did-we-allow-users-to-opt-out

- [ ] Mobile drop-down slide in
- [ ] Mobile modal slide in

Contributor guide

Open the contributing guide

Research direction

Locate the mobile drop-down and mobile modal animation entry points, then inspect how their slide-in transitions are defined. Verify the prefers-reduced-motion behavior by checking that reduced-motion users receive opacity fades instead of fast slides, while normal animations remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.