Update ee13b5 and 1a02b0 rules to clarify that transcript for video content does not need to be visible#2187
Conversation
| #### 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> | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Thanks for catching that. Requested more details in #2186
There was a problem hiding this comment.
This PR is removing "included in the accessibility tree" from the expectation. This will be a passed example since a transcript is available.
There was a problem hiding this comment.
This PR is the correct direction. We remove the change from 2064. AG decided that transcripts aren't strictly required to be visible.
WilcoFiers
left a comment
There was a problem hiding this comment.
LGTM, although please accept the editorial
| #### 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> | ||
| ``` | ||
|
|
There was a problem hiding this comment.
This PR is the correct direction. We remove the change from 2064. AG decided that transcripts aren't strictly required to be visible.
|
Discussion during F2F meeting: Hence, we should continue with this PR (and close #2064). |
kengdoj
left a comment
There was a problem hiding this comment.
I've added comments for your review.
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
✅ Deploy Preview for act-rules ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Co-authored-by: Kathy Eng <kengdoj@users.noreply.github.com>
Co-authored-by: Kathy Eng <kengdoj@users.noreply.github.com>
Co-authored-by: Kathy Eng <kengdoj@users.noreply.github.com>
add a blank line
add a blank line
|
Call for review ends September 8th. |
|
Personally I think an aria-label text equivalent under 1.1.1 is different than a transcript under 1.2.1. I still don't know how a person with low vision who isn't using a screen reader would be able to access or even know a transcript is available if it's positions off-screen with CSS. |
Closes issue(s): #2186
Updates:
Need for Call for Review:
This will require a 2 weeks Call for Review
Pull Request Etiquette
When creating PR:
developbranch (left side).After creating PR:
Rule,DefinitionorChore.When merging a PR:
How to Review And Approve