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 GitHub
parent 0c06c39960
commit 81c5908545
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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>
);