-
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
tabindex being forced set to -1 for all videos, violates 508 accessibility: WCAG 2.4.3 - Focus Order #8855
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. |
The Having the big play button serve as the one focusable element of the player (before playback) rather than the |
I have tried setting tabIndex to the big play button - same thing happens. The listener never triggers, nor does the console message at said trigger: bigplaybttn.forEach(function (vid) {
|
Description
need to disable the removal of tabindex from the videos, that i have painstakingly written code to set dynamically for over 450 elements on one page, after the document is loaded. this is affecting tab order of a page with several video mp4's, a table of contents with links to each mp4 (which are basically turning on/off visibility for each "slide"), a section for descriptive transcripts that is separate from closed captioning for each mp4, and the separate playbars for each video. i have tracked down the code logic break to the video being set to "tabindex: -1", which is causing the backtab to go to the top of the table of contents from the video, instead of back to the correlating location in the ToC. the break in tabbing is a violation of 508 (WCAG 2.4.3 Focus Order) protocols. everything has to have "logical to accessibility" tab functionality AND readable labels/titles by a screenreader. there can be NO EXCEPTIONS.
soooo... how do i disable the tabindex being force set to -1, that is overriding my dynamic tabindexing after the document is loaded?
Reduced test case
https://fedlinks-demo-jagglobal.tiiny.site/
Steps to reproduce
focus lands on the 0th element of the ToC, instead of current slide element displayed
Errors
console shows curractv which is my tracking variable for which slide is "active".
(editing to show console on live website, not from preview mode on local)
What version of Video.js are you using?
https://vjs.zencdn.net/7.18.1/video.min.js
Video.js plugins used.
https://vjs.zencdn.net/7.18.1/video.min.js
What browser(s) including version(s) does this occur with?
FF and Chrome
What OS(es) and version(s) does this occur with?
windows 10
The text was updated successfully, but these errors were encountered: