Skip to content

Fix hidden Control Text in Progress bar (Fixes #5251)#5655

Merged
gkatsev merged 2 commits into
videojs:masterfrom
OwenEdwards:fix/non-updated-control-text-in-progress-bar
Dec 11, 2018
Merged

Fix hidden Control Text in Progress bar (Fixes #5251)#5655
gkatsev merged 2 commits into
videojs:masterfrom
OwenEdwards:fix/non-updated-control-text-in-progress-bar

Conversation

@OwenEdwards

Copy link
Copy Markdown
Member

Description

Fix the hidden Control Text (intended for screen reader users) in the Progress Bar, which never gets updated by loading or playback. Fixes #5251.

Specific Changes proposed

  • Update the Control Text in the load-progress-bar during loading
  • Remove unnecessary Control Text from the play-progress-bar
  • Hide the time-tooltip feature from Assistive Technology using ARIA.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chome, Firefox, IE)
    • Unit Tests updated or fixed
    • Docs/guides updated
    • Example created (starter template on JSBin)
  • Reviewed by Two Core Contributors

…ve unnecessary Control Text from the play-progress-bar, and hide the time-tooltip feature from Assistive Technology using ARIA.
Comment thread src/js/control-bar/progress-control/load-progress-bar.js Outdated
Comment thread src/js/control-bar/progress-control/play-progress-bar.js
Comment thread src/js/control-bar/progress-control/load-progress-bar.js Outdated
Comment thread src/js/control-bar/progress-control/load-progress-bar.js Outdated
@gkatsev gkatsev added the patch This PR can be added to a patch release. label Dec 10, 2018
…ress-bar, and use that for the text to update.

@misteroneill misteroneill left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Owen! 👍

@gkatsev gkatsev added the a11y This item might affect the accessibility of the player label Dec 11, 2018
@gkatsev gkatsev merged commit 70a71ae into videojs:master Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y This item might affect the accessibility of the player patch This PR can be added to a patch release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The progress bar has hidden text (for screen reader users) which does not get updated

3 participants