You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-28 09:24:05 +03: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