Permalink
Browse files

fix(a11y): make seek-to-live better announce itself to screen reader …

…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 165c120db08b70cf222044676744b30ef9fa7a18
Showing with 116 additions and 110 deletions.
  1. +100 −95 docs/translations-needed.md
  2. +2 −0 lang/en.json
  3. +2 −2 src/css/components/_live.scss
  4. +12 −13 src/js/control-bar/seek-to-live.js
Oops, something went wrong.

0 comments on commit 165c120

Please sign in to comment.