Skip to content

Commit 165c120

Browse files
brandonocaseygkatsev
authored andcommitted
fix(a11y): make seek-to-live better announce itself to screen reader users (videojs#5651)
To make the seek-to-live component more accessible, we hide the text that says "LIVE" from screen readers and make it be purely for sighted users. Then set the control text to be either "Seek to live, currently playing live" or "Seek to live, currently behind live" to indicate what this control does and be informative around whether we are at edge or not. Then use aria-disabled on control if we are at edge.
1 parent 13b42ad commit 165c120

File tree

4 files changed

+116
-110
lines changed

4 files changed

+116
-110
lines changed

0 commit comments

Comments
 (0)