What fresh hell is THIS now? - Patrick Lauke
[spell] Hi A11y peeps. I have Level Access's AMP reporting back the following error: This video element does not have a mechanism that allows an accessible name value to be calculated. Can somebody elaborate on it? This is the code. Am I missing something here?
<video id="video" crossorigin="anonymous" preload="none" poster="/v1\_0/media/case-study-vmware.jpg" controls="">
<source src="/v1\_0/media/case-study-vmware.mp4" type="video/mp4">
<track label="English" kind="subtitles" srclang="en" src="/v1\_0/media/case-study-vmware.vtt">
<!-- fallback -->
<a href="/v1\_0/media/case-study-vmware.mp4"><img src="/v1\_0/media/case-study-vmware.jpg" alt="VMware Case Study Video"></a>
</video>
<video>
element on the page. To be clear: The rule only looks for <video>
. That’s it. Then it vomits forth with 13 new things, most of which are basically “Hey, since you have a video, you should make sure it doesn’t autoplay” etc. Don’t get me wrong, these are nice things to be mindful of. But there has to be a very clear and obvious difference to the user regarding what they’re seeing so that they have the freedom to ignore things that don’t point to a real, solid problem
[gokatgo] We’ve used VideoJS in some of our projects. There’s a pretty decent example here: http://videojs.com/advanced/
Check out the Elephant’s Dream example film to see how subs/captions/descriptions were used. In our particular use case, we added transcripts into a separate container on the page, which could be expanded/collapsed on button press.