Progress slider doesn't activate NVDA forms mode in Firefox
Description
The progress slider can't be enabled while using the NVDA screen reader in Firefox. This struck me as a bit bizarre, because similar sliders work in YouTube and the Able Player without any issues. I compared the slider elements in those two players with video.js, and after some testing, it appears the culprits are the nested span tags that the progress slider children append to the DOM.
I filed a bug (nvaccess/nvda#5837) with the NVDA team, but thought it would be useful to post this issue here in case anyone else encounters it.
Steps to reproduce
- Enable NVDA
- Open a video.js player instance in Firefox
- Navigate to the progress slider using screen reader controls (do not use the tab key!)
- Press NVDA + enter key to attempt to enter forms mode
Results
Expected
NVDA should enter forms mode and allow navigation of the slider using the arrow keys.
Actual
NVDA moves the slider to a random position, but does not enter forms mode.
Additional Information
versions
videojs
5.8.5
browsers
Firefox
OSes
This was observed on Windows 7 through 10
@OwenEdwards thoughts on this? Is this something we should look into doing or does what we have now works well enough that we can close this?
Thanks for opening this and for building with Video.js. For the last year we’ve been hard at work re-building the player from the ground up for the modern web. It’s now available as v10 and we’d love for you to join us by upgrading.
Video.js v8 will now live at videojs/videojs-v8 and continue to be maintained as best as we can with security fixes until October 1, 2028 (see its security policy).
This issue hasn’t had activity since June 2018, so we're closing it rather than moving it to videojs/videojs-v8. If it still applies to Video.js 10, open a new issue or discussion and link back here so we keep the context.
Moving to Video.js 10? Use a migration guide: HTML · React.
Migrating with a coding agent? Paste the prompt from the guide's AI Quickstart section into your agent: HTML · React.
If this is a security vulnerability, don't add details here. Report it privately through private vulnerability reporting.