mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-23 23:59:57 +00:00
a11y adjustments for toasts
This commit is contained in:
@@ -74,7 +74,7 @@ export default class ToastContainer extends React.Component {
|
||||
});
|
||||
|
||||
return (
|
||||
<div className={containerClasses}>
|
||||
<div className={containerClasses} role="alert" aria-live="polite">
|
||||
<div className={toastClasses}>
|
||||
<h2>{title}{countIndicator}</h2>
|
||||
<div className="mx_Toast_body">{React.createElement(component, toastProps)}</div>
|
||||
|
||||
Reference in New Issue
Block a user