Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(a11y): increase toast timeout for WCAG 2.2.1 compliance #63

Merged

Conversation

wilsuriel03
Copy link
Collaborator

This PR addresses issue #463 by increasing the toast notification timeout to ensure adequate reading time for all users, including those with disabilities.

Changes:

  • Set default toast duration to 10000ms (10 seconds)
  • Extended error toast duration to 12000ms
  • Ensured minimum duration enforcement for all toast types

These changes improve accessibility by:

  • Giving users more time to read and process toast notifications
  • Ensuring error messages have extra visibility time
  • Maintaining WCAG 2.2.1 compliance for timed content

Future considerations (V2):

  • I'm working on a new UI that will integrate persistent status banners at the page level
  • I'm planning to implement inline feedback for form actions and critical updates

@wilsuriel03 wilsuriel03 merged commit 0252e20 into EqualifyEverything:staging Oct 30, 2024
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.

3 participants