You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
To be accessible, material-toast needs to be exposed to users who cannot see it appear. It must also be operable without a mouse and be discoverable with touch. There are a few things involved:
Toast contents can be read aloud in an ARIA live region (recommended setting: "polite"). Region must be bootstrapped on page load and be part of the page's render flow (meaning it cannot be hidden with display: none). Offscreen CSS works fine for this.
The escape key should operate in a "stack" to close actions in the order they were triggered.
Any actions inside of the Toast need to be discoverable and operable from the keyboard or touch (Undo, etc.).