Nested span tags block forms mode for sliders in Firefox
If a div with a role of "slider" contains nested span tags, forms mode cannot be activated in Firefox. For example, this code works in all browser except for Firefox:
<div tabindex="0" role="slider" aria-valuenow="0.0" aria-valuemin="0" aria-valuemax="100" aria-label="seek bar" aria-valuetext="0:00">
<div class="slider-text">
<span class="text"><span>Loaded</span>: 0%</span>
</div>
</div>
Forms mode works if the inner span tag is removed, but that's perfectly valid HTML.
This bug was discovered while doing accessibility testing on video.js.
Any thoughts on this fairly old ticket @jcsteh
It's debatable as to whether Firefox or NVDA is the more appropriate place to fix this. The fix is trivial in either case. I'm going to try to get it fixed in Firefox, so I filed Mozilla bug 1455511.
I fixed this for Firefox 61.