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

Should the text alternative for a video without audio always be visually present? #1815

Open
2biazdk opened this issue Mar 24, 2022 · 8 comments

Comments

@2biazdk
Copy link

2biazdk commented Mar 24, 2022

I have a video (no audio) that provides a series of short clips to set an atmosphere. Just as if this had been an image, I have made sure to provide a nice alternative text in the form of a paragraph that is visually hidden, so that only tools such as screen readers and search engine crawlers can pick it up.

These ACT Rules seem to imply that my alternative text must be visually present on the page to all users:

But as with images, alternative text is typically not visually presented. Also, I do not see in WCAG a requirement for this to be visual when it describes a video without audio: https://www.w3.org/WAI/WCAG21/Techniques/general/G159

It would be interesting to open a discussion about whether such a video alternative text really must be visually presented, or whether the ACT Rules should be updated to reflect that it does not need to be presented visually.

@Jym77
Copy link
Collaborator

Jym77 commented May 12, 2022

CG resolution: remove the visibility condition, plus add an assumption that sighted users can understad the video.

@bruce-usab
Copy link
Collaborator

bruce-usab commented Jan 31, 2024

Just to throw a wrench into the works, I would argue that video-only media which only sets an atmosphere meets the definition for pure decoration. If you agree, there is no requirement for a text alternative under 1.2.1 and consequently the invisible SR-only text is fine.

@bruce-usab
Copy link
Collaborator

bruce-usab commented Jan 31, 2024

Animated GIFs also came to my mind as an example of video-only content, and that ALT can be sufficient for those.

From SC 1.1.1:

If non-text content is time-based media, then text alternatives at least provide descriptive identification of the non-text content. (Refer to Guideline 1.2 for additional requirements for media.)

It follows that if ALT is a "text alternative that serves the equivalent purpose" (and not merely providing descriptive identification) then 1.2 is not applicable.

@bruce-usab
Copy link
Collaborator

bruce-usab commented Jan 31, 2024

@WilcoFiers please check if I accidently deleted your comment! I was agreeing with your two points, but I do not see them now.

Edit: Wilco's comment is in wcag thread.

@Jym77
Copy link
Collaborator

Jym77 commented Feb 1, 2024

For gifs and alt, I think this is covered by allowing the alternative to not be visible (whether it's a sr-only text or an alt attribute is pretty much the same).

The issue I see with considering "atmosphere" videos as "pure decoration" is that videos should be pausable (under 2.2.2 Pause, Stop, Hide). Which implies having some "pause" button, which should be accessible. And I think it would be confusing to expose a "pause video" button without exposing any video.
Or, said otherwise, what HTML/JS would you use to mark a video as "pure decoration" (and hide it), while still passing 2.2.2?

@dbjorge
Copy link
Contributor

dbjorge commented Feb 1, 2024

It follows that if ALT is a "text alternative that serves the equivalent purpose" (and not merely providing descriptive identification) then 1.2 is not applicable.

I don't think this follows at all - there is nothing in 1.2 that says that it's only applicable if you meet a 1.1.1 in a particular way.

In general, I'll repeat-by-reference what I wrote in this comment in w3c/wcag#3642: I think we should be careful when discussing this to distinguish between the "text alternative" required by 1.1.1 and the "alternative to time-based media" required by 1.2.1. They are separately defined concepts with substantially different requirements.

(I'd encourage us to resolve the w3c/wcag thread before continuing here, I think it'll be confusing to have such overlapping discussion in multiple places)

@bruce-usab
Copy link
Collaborator

bruce-usab commented Feb 6, 2024

Resolving w3c/wcag#3642 before continuing here is sensible. I do want to agree with @Jym77 that 2.2.2 is quite relevant. @2biazdk you said short clips and I assumed that meant less than five seconds. But that was presumptuous on my part.

@kengdoj
Copy link
Collaborator

kengdoj commented May 2, 2024

w3c/wcag#3642 has been resolved:

No, SC 1.2.1 does not require alternative for time-based media for video-only to be visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants