| id | ee13b5 | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| name | Video element visual-only content has transcript | ||||||||||||||||||
| rules_format | 1.1 | ||||||||||||||||||
| rule_type | atomic | ||||||||||||||||||
| description | Non-streaming `video` elements without audio must have all visual information available in a transcript. | ||||||||||||||||||
| accessibility_requirements |
|
||||||||||||||||||
| input_aspects |
|
||||||||||||||||||
| acknowledgments |
|
||||||||||||||||||
| htmlHintIgnore |
|
This rule applies to any non-streaming video element that is visible where the video does not contain audio.
The visual information of each test target is available through a text transcript that is included in the accessibility tree, and is either on the page or linked.
A "text transcript" in the context of this rule is defined in WCAG 2 as an alternative for time based media.
- A mechanism is available to start the video and that the video element is not simply used to display the poster.
- Users who are not visually impaired can comprehend the contents of the video through visual cues and information presented visually.
There are no accessibility support issues known.
- Understanding Success Criterion 1.2.1: Audio-only and Video-only (Prerecorded)
- G159: Providing an alternative for time-based media for video-only content
This video element, which has no audio, has a visible text transcript available on the same page.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<p>The above video shows a giant fat rabbit climbing out of a hole in the ground.
He stretches, yawns, and then starts walking.
Then he stops to scratch his bottom.</p>
</html>This video element, which has no audio, has a transcript which conveys information included in the video-only content. The transcript is available through a link on the same page.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<a href="/test-assets/rabbit-video/transcript.html">Transcript</a>
</html>This video element, which has no audio, has a non-visible text transcript available on the same page.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<p style="position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;">This video shows a giant fat rabbit climbing out of a hole in the ground.
He stretches, yawns, and then starts walking.
Then he stops to scratch his bottom.</p>
</html>This video element, which has no audio, has an incorrect text transcript available on the same page.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<p>The above video shows a giant fat dog climbing out of a hole in the ground.
He stretches, yawns, and then starts walking.
Then he stops to scratch his bottom.</p>
</html>This video element, which has no audio, has an incorrect text transcript available through a link on the same page.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<a href="/test-assets/rabbit-video/incorrect-transcript.html">Transcript</a>
</html>This video element, which has no audio, has a text transcript available on the same page, but the transcript is not included in the accessibility tree.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<p aria-hidden="true">This video shows a giant fat rabbit climbing out of a hole in the ground.
He stretches, yawns, and then starts walking.
Then he stops to scratch his bottom.</p>
</html>This video element has audio.
<html lang="en">
<video controls>
<source src="/test-assets/rabbit-video/video.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/video.webm" type="video/webm"></source>
</video>
<a href="/test-assets/rabbit-video/transcript.html">Transcript</a>
</html>This video element is not visible.
<html lang="en">
<video controls style="display: none;">
<source src="/test-assets/rabbit-video/silent.mp4" type="video/mp4"></source>
<source src="/test-assets/rabbit-video/silent.webm" type="video/webm"></source>
</video>
<a href="/test-assets/rabbit-video/transcript.html">Transcript</a>
</html>