For improved accessibility, consider using either the <progressbar> tag or the role="progressbar" and in any case aria-live="polite" in order not to broadcast every single update on screen readers.
<progressbar>
role="progressbar"
aria-live="polite"
Thanks for the valuable input, Alex! I updated the CodePen and I'm going to look into aria-live right away – I didn't even know about it!
aria-live
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
For improved accessibility, consider using either the
<progressbar>
tag or therole="progressbar"
and in any casearia-live="polite"
in order not to broadcast every single update on screen readers.Thanks for the valuable input, Alex! I updated the CodePen and I'm going to look into
aria-live
right away – I didn't even know about it!