-
Notifications
You must be signed in to change notification settings - Fork 32
Description
WCAG 2.x does not adequately address accessibility failures caused by toast notifications that dismiss when users scroll or move focus. This pattern creates a significant barrier for users with low vision, screen reader users, and keyboard users, yet is not clearly covered by existing Success Criteria. As a result, this harmful pattern persists in production systems despite causing real usability and accessibility failures.
This issue documents the gap and proposes consideration for WCAG 3 outcomes that better reflect user experience realities.
Description of the Accessibility Problem
Some toast notifications provide important and unique system feedback. In many implementations, these toasts dismiss automatically when the user scrolls the page or when keyboard focus changes. (I'm not talking about toasts that disappear after a specific time, like 5 seconds, because that will be reviewed under 2.2.1 Timing Adjustable)
This behavior creates an accessibility barrier because users must often scroll or move focus in order to read or understand the toast.
Affected users include:
- Low-vision users, who scroll to magnify different portions of the screen
- Screen reader users, who move focus to navigate content or review context
- Keyboard-only users, who naturally change focus during interaction
When an important toast disappears during these essential actions, the user may never receive the feedback the toast was meant to convey.
Why WCAG 2.x Does Not Adequately Cover This
Relevant Success Criterion: WCAG 2.2.1 – Timing Adjustable (Level A)
While this criterion addresses content that disappears after a time limit, it does not clearly apply when dismissal is triggered by:
- scrolling
- focus movement
- tab navigation
In these cases:
- There may be no explicit time limit
- The dismissal is tied to required navigation actions
- The user has no reasonable way to pause, extend, or recover the content
As a result, these implementations often pass WCAG conformance reviews while still producing inaccessible user experiences.
Why This Is a Meaningful Accessibility Gap
This pattern:
- Removes critical feedback before users can perceive or understand it
- Penalizes users for necessary accessibility behaviors (scrolling, focus movement)
- Is especially harmful for magnification and screen reader workflows
- Undermines user confidence and task completion
While not a WCAG 2.x failure, it violates the intent of accessible design and results in real-world exclusion.
Recommendation for WCAG 3 Consideration
WCAG 3 offers an opportunity to address this gap by:
- Explicitly considering focus- and scroll-triggered dismissal as equivalent to timing-based loss
- Evaluating user ability to perceive, understand, and recover system feedback
- Treating valuable system feedback as essential content, not purely transient UI
A potential WCAG 3 outcome could focus on ensuring that critical user feedback remains available until the user has a reasonable opportunity to perceive and understand it, regardless of navigation method.