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
When showing multiple notifications, the DOM elements of each snackbar should have a unique id.
Additionally, the id of the <div> that contains the message should be set to the id returned by enqueueSnackbar().
Further more the the "aria-describeby" of the <div> that represents the mui content, and of the default action button should be set to that id.
Current Behavior
When multiple notifications are shown, the id of every <div> that contains a message is set to 'notistack-snackbar'
The "aria-describeby" is also set to 'notistack-snackbar'.
This breaks accessibility as the IDs that used in ARIA are not unique.
Additionally it is not possible to create a custom action and set the ARIA to something useful.
Expected Behavior
When showing multiple notifications, the DOM elements of each snackbar should have a unique id.
Additionally, the id of the
<div>
that contains the message should be set to the id returned byenqueueSnackbar()
.Further more the the "aria-describeby" of the
<div>
that represents the mui content, and of the default action button should be set to that id.Current Behavior
When multiple notifications are shown, the id of every
<div>
that contains a message is set to 'notistack-snackbar'The "aria-describeby" is also set to 'notistack-snackbar'.
This breaks accessibility as the IDs that used in ARIA are not unique.
Additionally it is not possible to create a custom action and set the ARIA to something useful.
Steps to Reproduce
Context
Accessibility WCAG 2.0 Level A compliance
Your Environment
The text was updated successfully, but these errors were encountered: