Skip to content

a11y: respect prefers-reduced-motion in Notification list transitions#609

Open
Tekprecious wants to merge 2 commits into
Disciplr-Org:mainfrom
Tekprecious:a11y/notification-reduced-motion
Open

a11y: respect prefers-reduced-motion in Notification list transitions#609
Tekprecious wants to merge 2 commits into
Disciplr-Org:mainfrom
Tekprecious:a11y/notification-reduced-motion

Conversation

@Tekprecious

Copy link
Copy Markdown

Closes #497

🚀 #497: Implement prefers-reduced-motion Guard for Notification Transitions

Overview

This Pull Request introduces an accessibility guard to the Notification page list layout transitions. It hooks into the user's system-level motion preferences via the usePrefersReducedMotion custom hook, neutralizing animations for motion-sensitive users while preserving standard dynamic entrance experiences when allowed.

Key Changes

  • A11y Motion Guarding: Connected the Notification page component to usePrefersReducedMotion().
  • Adaptive Transitions: Conditioned the Framer Motion initial, exit, and transition configurations to evaluate seamlessly down to a zero-duration layout block when reduced motion is preferred, entirely preventing sudden shifting or unwanted visual acceleration.
  • Layout Integrity: Maintained design system rule parity ensuring no structural layout shift occurs when swapping modes mid-session.

Verification Checklist

@drips-wave

drips-wave Bot commented Jul 1, 2026

Copy link
Copy Markdown

@Tekprecious Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@whitezaddy

Copy link
Copy Markdown

@1nonlypiece I still await job approval

@Tekprecious

Copy link
Copy Markdown
Author

@1nonlypiece ???

1 similar comment
@Tekprecious

Copy link
Copy Markdown
Author

@1nonlypiece ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a reduced-motion guard to the Notification page framer-motion list transitions

2 participants