Skip to content

fix(a11y): disable hover animation on neumorphic cards under prefers-reduced-motion#1445

Open
KRUSHAL2956 wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
KRUSHAL2956:fix/1434-neumorphic-cards-reduced-motion
Open

fix(a11y): disable hover animation on neumorphic cards under prefers-reduced-motion#1445
KRUSHAL2956 wants to merge 1 commit into
SAPTARSHI-coder:mainfrom
KRUSHAL2956:fix/1434-neumorphic-cards-reduced-motion

Conversation

@KRUSHAL2956
Copy link
Copy Markdown
Contributor

Pull Request Description

Adds .ease-card-neumorphic to the prefers-reduced-motion resets inside components/cards.css.


Type of Change

  • 🐛 Bug fix in an existing submission (Accessibility Fix)

Submission Checklist

  • One feature/bugfix per PR
  • Build, lint, and tests pass successfully

Notes for Maintainer

This PR resolves issue #1434, ensuring neumorphic cards do not perform vertical translation animations when a user has enabled reduced motion settings.

Closes #1434

@KRUSHAL2956
Copy link
Copy Markdown
Contributor Author

@SAPTARSHI-coder please review this merge request. This PR disables vertical translation animation on neumorphic cards under prefers-reduced-motion, resolving a motion accessibility gap.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

📊 CSS Bundle Size Benchmark

This PR changes the size of easemotion.min.css.

Metric Base Branch This PR Difference
Raw 47.43 KB 47.45 KB 📈 +0.02 KB
Gzip 8.34 KB 8.34 KB 📈 +0.00 KB
Brotli 7.13 KB 7.14 KB 📈 +0.01 KB

@SAPTARSHI-coder SAPTARSHI-coder added accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers GSSoC-26 Official GSSoC 2026 issue gssoc:approved Approved for GSSoC contributions integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement labels Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted Contribution approved for integration into EaseMotion CSS animation Animation effects, hover interactions, motion ideas, transitions component New UI components (buttons, cards, modals, tooltips, badges) enhancement New feature or request good first issue Good for newcomers gssoc:approved Approved for GSSoC contributions GSSoC-26 Official GSSoC 2026 issue integrated Successfully merged and included in the framework level:intermediate Requires moderate project understanding type:feature New functionality or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

♿ Accessibility: Neumorphic Cards Bypass prefers-reduced-motion Settings

2 participants