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

Update ee13b5 and 1a02b0 rules to clarify that transcript for video content does not need to be visible #2187

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

giacomo-petri
Copy link
Collaborator

Closes issue(s): #2186

Updates:

  • Added 1.3.1 secondary requirement for both:
    • Video element visual-only content has transcript (ee13b5)
    • Audio and visuals of video element have transcript (1a02b0)
  • Removed "visible" from Expectation of both:
    • Video element visual-only content has transcript (ee13b5)
    • Audio and visuals of video element have transcript (1a02b0)
  • Added assumption as per CG decision for both:
    • Video element visual-only content has transcript (ee13b5)
    • Audio and visuals of video element have transcript (1a02b0)
  • Added non-visible transcription passed example (Passed Example 3) for both:
    • Video element visual-only content has transcript (ee13b5)
    • Audio and visuals of video element have transcript (1a02b0)
  • Tweaked a little bit the wording of other passed examples to clarify they are visible and differentiate them from the non-visible one.
  • Added failing example (Failed Example 3) of transcript not included in the acc tree only for "Audio and visuals of video element have transcript (1a02b0)" since the other rule already had this failure in place.

Need for Call for Review:
This will require a 2 weeks Call for Review


Pull Request Etiquette

When creating PR:

  • Make sure you're requesting to pull a branch (right side) to the develop branch (left side).
  • Make sure you do not remove the "How to Review and Approve" section in your pull request description

After creating PR:

  • Add yourself (and co-authors) as "Assignees" for PR.
  • Add label to indicate if it's a Rule, Definition or Chore.
  • Link the PR to any issue it solves. This will be done automatically by referencing the issue at the top of this comment in the indicated place.
  • Optionally request feedback from anyone in particular by assigning them as "Reviewers".

When merging a PR:

  • Close any issue that the PR resolves. This will happen automatically upon merging if the PR was correctly linked to the issue, e.g. by referencing the issue at the top of this comment.

How to Review And Approve

  • Go to the “Files changed” tab
  • Here you will have the option to leave comments on different lines.
  • Once the review is completed, find the “Review changes” button in the top right, select “Approve” (if you are really confident in the rule) or "Request changes" and click “Submit review”.
  • Make sure to also review the proposed Call for Review period. In case of disagreement, the longer period wins.

@giacomo-petri giacomo-petri changed the title Giacomo petri video only transcript patch Update ee13b5 and 1a02b0 rules to clarify that transcript for video content does not need to be visible May 3, 2024
Jym77
Jym77 previously requested changes May 23, 2024
_rules/video-only-transcript-ee13b5.md Outdated Show resolved Hide resolved
Comment on lines +151 to +164
#### Failed Example 3
This `video` element has a text transcript available on the same page, but the transcript is not [included in the accessibility tree][].
```html
<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>
<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>
</html>
```

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This collides with the changes made in #2064.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching that. Requested more details in #2186

Copy link
Collaborator

@kengdoj kengdoj May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is removing "included in the accessibility tree" from the expectation. This will be a passed example since a transcript is available.

#2186 (comment)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is the correct direction. We remove the change from 2064. AG decided that transcripts aren't strictly required to be visible.

@giacomo-petri giacomo-petri added On hold Blocked Blocked by another PR/Issue and removed reviewers wanted labels May 30, 2024
@giacomo-petri
Copy link
Collaborator Author

Blocked by #2064 (pending merge of #2064)

Copy link
Member

@WilcoFiers WilcoFiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, although please accept the editorial

Comment on lines +151 to +164
#### Failed Example 3
This `video` element has a text transcript available on the same page, but the transcript is not [included in the accessibility tree][].
```html
<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>
<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>
</html>
```

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is the correct direction. We remove the change from 2064. AG decided that transcripts aren't strictly required to be visible.

Comment on lines +151 to +153
#### Failed Example 3
This `video` element has a text transcript available on the same page, but the transcript is not [included in the accessibility tree][].
```html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
#### Failed Example 3
This `video` element has a text transcript available on the same page, but the transcript is not [included in the accessibility tree][].
```html
#### Failed Example 3
This `video` element has a text transcript available on the same page, but the transcript is not [included in the accessibility tree][].
```html

@WilcoFiers WilcoFiers requested a review from Jym77 August 29, 2024 16:51
@WilcoFiers WilcoFiers dismissed Jym77’s stale review August 29, 2024 16:51

Can you have another look at this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Blocked by another PR/Issue On hold
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants