momentum-react-v2
momentum-react-v2 copied to clipboard
Alert only the string
Description
Only the text part of the notification should be read out as an alert by screen readers.
In this PR I've
- removed the role=alert from all the toastify container
- added role=alert to the Text in ToastNotification when the content is a string
This requires content other than strings to provide the alert separately.
Links
Links to relevent resources.