Skip to content

feat(frontend): improve screen reader support and enable optimistic u…#995

Merged
emdevelopa merged 1 commit into
emdevelopa:mainfrom
Ibk-Bless:feature/fe-issues-980-981-982-983-payment-success-settings-dashboard
Jun 24, 2026
Merged

feat(frontend): improve screen reader support and enable optimistic u…#995
emdevelopa merged 1 commit into
emdevelopa:mainfrom
Ibk-Bless:feature/fe-issues-980-981-982-983-payment-success-settings-dashboard

Conversation

@Ibk-Bless

Copy link
Copy Markdown
Contributor

Add useReducedMotion support — skips confetti and uses fade-only animation variants when the OS reduce-motion preference is active
Add dynamic polite live region (data-testid=sr-announcement) that announces network confirmation when isOptimistic transitions from true to false
Async handleDismiss with optimistic UI — Continue/Close buttons immediately show a loading spinner and aria-busy=true, then roll back (re-enable buttons + announce error) if onComplete rejects
Escape key now routes through handleDismiss for consistent behavior

  • Add framer-motion mock (vi.hoisted + mkMotion helper) and comprehensive tests covering reduced-motion, pending state, rollback, and SR announcements

Closes #980
Closes #981
Closes #982
Closes #983

…pdates for PaymentSuccessAnimation

- emdevelopa#980: Add useReducedMotion support — skips confetti and uses fade-only
  animation variants when the OS reduce-motion preference is active
- emdevelopa#980: Add dynamic polite live region (data-testid=sr-announcement) that
  announces network confirmation when isOptimistic transitions from true to false
- emdevelopa#981: Async handleDismiss with optimistic UI — Continue/Close buttons
  immediately show a loading spinner and aria-busy=true, then roll back
  (re-enable buttons + announce error) if onComplete rejects
- emdevelopa#981: Escape key now routes through handleDismiss for consistent behavior
- Add framer-motion mock (vi.hoisted + mkMotion helper) and comprehensive
  tests covering reduced-motion, pending state, rollback, and SR announcements

Closes emdevelopa#980
Closes emdevelopa#981
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Ibk-Bless is attempting to deploy a commit to the Emmanuel's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@Ibk-Bless 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

@emdevelopa emdevelopa merged commit 1dc67e6 into emdevelopa:main Jun 24, 2026
1 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants