momentum-react-v2 icon indicating copy to clipboard operation
momentum-react-v2 copied to clipboard

Alert only the string

Open Coread opened this issue 7 months ago • 0 comments

Description

Only the text part of the notification should be read out as an alert by screen readers.

In this PR I've

  1. removed the role=alert from all the toastify container
  2. 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.

Coread avatar Jul 23 '24 11:07 Coread