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

Open
#3,517 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Pratik-Kumar-Dhakar is already working on this.

Since Nov 18, 2026.

  • #5524 by @Pratik-Kumar-Dhakar — open

Assessment

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

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.

Description

type/accessibility

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
Dominant language
PHP
Stars
6.8k
Forks
891
Avg merge
1d 10h
Merged PRs (30d)
209

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from flarum/framework

All issues in flarum/framework

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.