id | name | rule_type | description | test_aspects | authors | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ee13b5 |
video only element has transcript |
atomic |
Non-streaming `video` elements without audio must have all visual information available in a transcript.
|
|
|
The rule applies to any non-streaming video
element visible where the video doesn't contain audio.
The visual information of each test target is available through a text transcript that is available either on the page or through a link. The text transcript needs to be visibile and included-in-the-accessibility-tree.
Note: A "text transcript" in the context of this rule is defined in WCAG 2 as an alternative for time based media.
This rule assumes that a mechanism is available to start the video and that the video element is not simply used to display the poster.
There are no major accessibility support issues known for this rule.
- Understanding SC 1.2.1:Audio-only and Video-only (Prerecorded)
- G159:Providing an alternative for time-based media for video-only content
A silent video element with a text transcript on the same page.
<video controls data-rule-target>
<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, yaws, and then starts walking.
Then he stops to scratch his bottom.</p>
A silent video element with a link to a text transcript on a different page.
<video controls data-rule-target>
<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</p>
A silent video element with an incorrect text transcript on the same page.
<video controls data-rule-target>
<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, yaws, and then starts walking.
Then he stops to scratch his bottom.</p>
A silent video element with a link to an incorrect text transcript on a different page.
<video controls data-rule-target>
<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</p>
A silent video element with an invisible text transcript on the same page.
<video controls data-rule-target>
<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="text-indent: -9999px;">The above video shows a giant fat rabbit climbing out of a hole in the ground.
He stretches, yaws, and then starts walking.
Then he stops to scratch his bottom.</p>
A silent video element with a text transcript on the same page that is not included in the accessibility tree.
<video controls data-rule-target>
<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">The above video shows a giant fat rabbit climbing out of a hole in the ground.
He stretches, yaws, and then starts walking.
Then he stops to scratch his bottom.</p>
A silent video element that is not visible on the page.
<video controls style="display: none;" data-rule-target>
<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</p>
A video element with audio.
<video controls data-rule-target>
<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</p>