Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating the Transcript Rules #2064

Open
wants to merge 58 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
7c4e66c
TranscriptRules
HelenBurge May 25, 2023
5788d05
Update audio-transcript-2eb176.md
HelenBurge May 25, 2023
9e0300b
Update audio-transcript-2eb176.md
HelenBurge May 25, 2023
8132fb8
Update video-transcript-1a02b0.md
HelenBurge May 25, 2023
1392cfb
Update video-only-transcript-ee13b5.md
HelenBurge May 25, 2023
5123093
Update audio-transcript-2eb176.md
HelenBurge May 25, 2023
750beeb
Update video-only-transcript-ee13b5.md
HelenBurge May 25, 2023
cfc6f7a
Update video-transcript-1a02b0.md
HelenBurge May 25, 2023
7f6bc85
Merge branch 'develop' into TranscriptRules
HelenBurge May 25, 2023
7d9331c
Update _rules/audio-transcript-2eb176.md
HelenBurge May 25, 2023
9c7cfc0
Update audio-transcript-2eb176.md
HelenBurge Feb 29, 2024
39a4cd8
Update video-only-transcript-ee13b5.md
HelenBurge Feb 29, 2024
20c5578
Update video-transcript-1a02b0.md
HelenBurge Feb 29, 2024
9c7b010
Update audio-transcript-2eb176.md
HelenBurge Feb 29, 2024
5011552
Update video-only-transcript-ee13b5.md
HelenBurge Feb 29, 2024
c910d8b
Merge branch 'develop' into TranscriptRules
Jym77 Mar 5, 2024
aa43f64
Update _rules/audio-transcript-2eb176.md
HelenBurge Apr 23, 2024
06f4fd9
Update _rules/audio-transcript-2eb176.md
HelenBurge Apr 23, 2024
11570c6
Update _rules/audio-transcript-2eb176.md
HelenBurge Apr 23, 2024
8c8453d
Update _rules/audio-transcript-2eb176.md
HelenBurge Apr 23, 2024
556f9e6
Update _rules/audio-transcript-2eb176.md
HelenBurge Apr 23, 2024
d5edac0
Update _rules/video-only-transcript-ee13b5.md
HelenBurge Apr 23, 2024
9322d9e
Update _rules/video-transcript-1a02b0.md
HelenBurge Apr 23, 2024
6fcaa73
Update video-only-transcript-ee13b5.md
HelenBurge Apr 23, 2024
920180f
Update video-only-transcript-ee13b5.md
HelenBurge Apr 23, 2024
460d2de
Update video-only-transcript-ee13b5.md
HelenBurge Apr 23, 2024
79003bf
Update video-transcript-1a02b0.md
HelenBurge Apr 23, 2024
6644945
Fix frontmatters
Jym77 May 7, 2024
4d86b8f
Update _rules/audio-transcript-2eb176.md
HelenBurge May 21, 2024
a6a7bc7
Update audio-transcript-2eb176.md
HelenBurge May 21, 2024
07d251d
Update _rules/video-transcript-1a02b0.md
HelenBurge May 23, 2024
32ef899
Update _rules/audio-transcript-2eb176.md
HelenBurge May 23, 2024
4460429
Update audio-transcript-2eb176.md
HelenBurge May 23, 2024
d4c436c
Update video-only-transcript-ee13b5.md
HelenBurge May 23, 2024
d8830b6
Update video-transcript-1a02b0.md
HelenBurge May 23, 2024
f282089
Update _rules/audio-transcript-2eb176.md
HelenBurge May 30, 2024
089d651
Update _rules/video-only-transcript-ee13b5.md
HelenBurge May 30, 2024
81ec312
Update _rules/video-transcript-1a02b0.md
HelenBurge May 30, 2024
6867ec7
Update _rules/video-only-transcript-ee13b5.md
HelenBurge May 30, 2024
3838d16
Update _rules/audio-transcript-2eb176.md
HelenBurge May 30, 2024
fae7ad0
Update _rules/video-transcript-1a02b0.md
HelenBurge May 30, 2024
4a26e0b
Merge branch 'develop' into TranscriptRules
daniel-montalvo May 30, 2024
f1eb5ce
Update video-transcript-1a02b0.md
HelenBurge May 30, 2024
b0f435d
Update audio-transcript-2eb176.md
HelenBurge May 30, 2024
e6f966f
Update video-transcript-1a02b0.md
HelenBurge May 30, 2024
c366a7c
Update _rules/audio-transcript-2eb176.md
HelenBurge May 30, 2024
6651e1b
Update audio-transcript-2eb176.md
HelenBurge May 30, 2024
d89738c
Update video-only-transcript-ee13b5.md
HelenBurge May 30, 2024
0678b3f
Update video-transcript-1a02b0.md
HelenBurge May 30, 2024
7da5060
Update video-only-transcript-ee13b5.md
HelenBurge May 30, 2024
df3096f
Update audio-transcript-2eb176.md
HelenBurge May 30, 2024
efa4098
Update video-transcript-1a02b0.md
HelenBurge May 30, 2024
b7360ae
Update _rules/video-transcript-1a02b0.md
HelenBurge Aug 1, 2024
89ccdcd
Update _rules/video-only-transcript-ee13b5.md
HelenBurge Aug 1, 2024
62a5540
Update _rules/audio-transcript-2eb176.md
HelenBurge Aug 1, 2024
3cb5bf5
Update audio-transcript-2eb176.md
HelenBurge Aug 1, 2024
5f8a06a
Update video-only-transcript-ee13b5.md
HelenBurge Aug 1, 2024
6c39ab5
Update video-transcript-1a02b0.md
HelenBurge Aug 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 12 additions & 19 deletions _rules/audio-transcript-2eb176.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ rule_type: atomic
description: |
This rule checks that `audio` elements have a transcript that includes all auditory information.
accessibility_requirements:
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
wcag20:1.2.1: # Audio-only and Video-only (Prerecorded) (A)
forConformance: true
secondary: true
Jym77 marked this conversation as resolved.
Show resolved Hide resolved
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
failed: not satisfied
passed: further testing needed
inapplicable: further testing needed
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
input_aspects:
- DOM Tree
- CSS Styling
Expand All @@ -13,6 +19,7 @@ input_aspects:
acknowledgments:
authors:
- Brian Bors
- Helen Burge
- Wilco Fiers
funding:
- WAI-Tools
Expand All @@ -24,12 +31,12 @@ acknowledgments:

This rule applies to every [non-streaming](#non-streaming-media-element) `audio` element that is:
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

- playing; or,
- has a [play button][] that is [visible][] and [included in the accessibility tree][].
- autoplaying; or,
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
- has a [play button][] that is [visible][].
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

## Expectation

The auditory information of each test target is available through a text transcript. That text transcript is [visible][] and [included in the accessibility tree][], either on the page or through a link.
The auditory information of each test target is available through a text transcript. That text transcript is [visible][], either on the page or through a clearly labeled location.
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

**Note:** A "text transcript" in the context of this rule is defined in WCAG 2 as an [alternative for time based media](https://www.w3.org/TR/WCAG21/#dfn-alternative-for-time-based-media).

Expand All @@ -43,6 +50,8 @@ There are no accessibility support issues known.

## Background

It is known that the user can set the browser to prevent autoplay. This rule assumes the browser has not been set to do this.
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

### Bibliography

- [Understanding SC 1.2.1:Audio-only and Video-only (Prerecorded)](https://www.w3.org/WAI/WCAG21/Understanding/audio-only-and-video-only-prerecorded)
Expand Down Expand Up @@ -156,21 +165,6 @@ This `audio` element has native player controls and a [non-visible][visible] int
</html>
```

#### Failed Example 6
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

This `audio` element has native player controls and an internal transcript that is not exposed to the accessibility tree.

```html
<html lang="en">
<audio src="/test-assets/moon-audio/moon-speech.mp3" controls></audio>
<p aria-hidden="true">
The above audio contains the following speech: We choose to go to the moon in this decade and do the other things,
not because they are easy, but because they are hard, because that goal will serve to organize and measure the best
of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to
postpone, and one which we intend to win, and the others, too.
</p>
</html>
```

### Inapplicable

Expand All @@ -194,6 +188,5 @@ This `audio` element has hidden native player controls.
</html>
```

[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'
[play button]: #play-button 'Definition of play button'
[visible]: #visible 'Definition of visible'
12 changes: 9 additions & 3 deletions _rules/video-only-transcript-ee13b5.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ accessibility_requirements:
failed: not satisfied
passed: further testing needed
inapplicable: further testing needed
wcag20:1.2.1: # Audio-only and Video-only (Prerecorded) (A)
forConformance: true
secondary: true
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
failed: not satisfied
passed: further testing needed
inapplicable: further testing needed
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved
input_aspects:
- DOM Tree
- CSS Styling
Expand All @@ -19,6 +25,7 @@ input_aspects:
acknowledgments:
authors:
- Brian Bors
- Helen Burge
- Wilco Fiers
funding:
- WAI-Tools
Expand All @@ -36,7 +43,7 @@ This rule applies to any [non-streaming](#non-streaming-media-element) `video` e

## Expectation

The visual information of each test target is available through a text transcript that is [visible][], [included in the accessibility tree][], and is either on the page or linked.
The visual information of each test target is available through a text transcript that is [visible][], and is either on the page or in a clearly labeled location.
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

## Assumptions

Expand All @@ -48,7 +55,7 @@ There are no accessibility support issues known.

## Background

A "text transcript" in the context of this rule is defined in WCAG 2 as an [alternative for time based media](https://www.w3.org/TR/WCAG21/#dfn-alternative-for-time-based-media).
A "text transcript" in the context of this rule is defined in WCAG 2 as an [alternative for time based media](https://www.w3.org/TR/WCAG21/#dfn-alternative-for-time-based-media). It is known that the user can set the browser to prevent autoplay. This rule assumes the browser has not been set to do this.

### Bibliography

Expand Down Expand Up @@ -183,5 +190,4 @@ This `video` element is not [visible][].
</html>
```

[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'
[visible]: #visible 'Definition of visible'
7 changes: 4 additions & 3 deletions _rules/video-transcript-1a02b0.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ input_aspects:
acknowledgments:
authors:
- Brian Bors
- Helen Burge
- Wilco Fiers
funding:
- WAI-Tools
Expand All @@ -41,7 +42,7 @@ This rule applies to every [non-streaming](#non-streaming-media-element) `video`

## Expectation

The visual information of each test target is available through a text transcript that is [visible][], [included in the accessibility tree][], and is either on the page or linked.
The visual information of each test target is available through a text transcript that is [visible][], and is either on the page or in a clearly labeled location.
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

**Note:** A "text transcript" in the context of this rule is defined in WCAG 2 as an [alternative for time based media](https://www.w3.org/TR/WCAG21/#dfn-alternative-for-time-based-media).

Expand All @@ -55,6 +56,8 @@ There are no accessibility support issues known.

## Background

It is known that the user can set the browser to prevent autoplay. This rule assumes the browser has not been set to do this.
HelenBurge marked this conversation as resolved.
Show resolved Hide resolved

### Bibliography

- [Understanding Success Criterion 1.2.3: Audio Description or Media Alternative (Prerecorded)](https://www.w3.org/WAI/WCAG21/Understanding/audio-description-or-media-alternative-prerecorded)
Expand Down Expand Up @@ -144,6 +147,4 @@ A video element that is not [visible][].
<a href="/test-assets/rabbit-video/transcript.html">Transcript</a>
</html>
```

[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'
[visible]: #visible 'Definition of visible'