Skip to content

Commit

Permalink
fix(a11y): make seek-to-live better announce itself to screen reader …
Browse files Browse the repository at this point in the history
…users (#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.
  • Loading branch information
brandonocasey authored and gkatsev committed Dec 11, 2018
1 parent 13b42ad commit 165c120
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 110 deletions.

0 comments on commit 165c120

Please sign in to comment.