-
Notifications
You must be signed in to change notification settings - Fork 7.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screenreaders don't read video subtitles automatically #7430
Comments
👋 Thanks for opening your first issue here! 👋 If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
This is sort of by design to match how browsers work currently. Native captions aren't accessible by screen readers. When a descriptions track is enabled, on non-safari browsers, we make it available for Screen Readers to read. |
I guess there's some discussion related to this topic here #3554 previously. |
A reasonable compromise between the points mentioned in #3554 and the desired utility sought here would be providing an option to enable this behavior. |
Why is "The screenreader automatically reads the subtitles as they're appearing on the screen." the expected behavior? There is no standard expected behavior defined for this, and as @gkatsev says, the behavior of Video.js with Captions and Subtitles matches the native behavior of browsers when playing video with Captions and/or Subtitles. |
@gkatsev @OwenEdwards I am a screenreader user myself. The conclusion of #3554 is incomplete, as it doesn't take into account the cases where subtitles are used for translation purposes or annotate a video. I have no direct experiences with development using VideoJS, so I'm not sure how exactly are the subtitles handled.
|
@RastislavKish again, this is not the "expected" behavior, since it doesn't match how browsers behave when they play HTML video with captions or subtitles. I understand that it's a feature that you would like to see added, but it's not a bug. The problem with what you're asking for is that other screen reader users may complain if video.js changes its behavior by putting captions in an Even if the choice to have The only implementation that would make sense from a user perspective would be for the user to be able to select whether the captions or subtitles are rendered in an |
@OwenEdwards The setting option sounds great. This way, everyone could select the preferred behavior according to their personal preference and needs. |
Yes, we can definitely make this a feature request for making captions screen reader accessible by user-request. Though, it's worth noting it'll only be available when native captions aren't being used (which is non-safari by default). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Description
Screenreaders don't read subtitles of videos automatically, since the element holding their text doesn't have aria-live attribute enabled.
Steps to reproduce
Results
Expected
The screenreader automatically reads the subtitles as they're appearing on the screen.
Actual
The screenreader doesn't report anything, the user has to manually check whether new text has been shown.
Additional Information
Part of FreeTube accessibility improvements PR by @jasonhenriquez.
versions
videojs
7.14.3
browsers
Tested under Chromium (Electron), though the problem is not browser-related.
OSes
Tested on Ubuntu mate 20.04 64-bit and Windows 10 21H1 64-bit, though the problem is not platform related.
The text was updated successfully, but these errors were encountered: