Set aria-live to off on span responsible for rendering the online message on a stream (#3361)

Co-authored-by: Aziz Rmadi <azizrmadi@Azizs-MacBook-Air.local>
This commit is contained in:
armadi1809 2023-10-15 21:45:54 -05:00 committed by Gabe Kangas
parent 5bb5536398
commit 2c1b06c387

View File

@ -79,7 +79,9 @@ export const Statusbar: FC<StatusbarProps> = ({
return (
<div className={classNames(styles.statusbar, className)} role="status">
<span className={styles.onlineMessage}>{onlineMessage}</span>
<span aria-live="off" className={styles.onlineMessage}>
{onlineMessage}
</span>
<span className={styles.viewerCount}>{rightSideMessage}</span>
</div>
);