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
In the current implementation of the Toast component, we render this component inside the React portal. At the moment, the alert role is present both for the alert wrapper (the element with the toast-container class) and for the alert itself (the element with the pgn__toast class).
Should the alert role be specified only for the alert itself (the element with the pgn__toast class), or for the wrapper (the element with the toast-container class)? The main idea is to keep the element with the alert role in one instance.
The text was updated successfully, but these errors were encountered:
Interesting, I agree having the duplicate role="alert" doesn't seem correct. I wonder if the same could also be said for the aria-atomic (same value) and aria-live (competing values), per your screenshot above.
In the current implementation of the Toast component, we render this component inside the React portal. At the moment, the
alert
role is present both for the alert wrapper (the element with thetoast-container
class) and for the alert itself (the element with thepgn__toast
class).Should the
alert
role be specified only for the alert itself (the element with thepgn__toast
class), or for the wrapper (the element with thetoast-container
class)? The main idea is to keep the element with thealert
role in one instance.The text was updated successfully, but these errors were encountered: