Should the text alternative for a video without audio always be visually present?
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:
- https://act-rules.github.io/rules/c3232f
- https://act-rules.github.io/rules/ee13b5
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.
CG resolution: remove the visibility condition, plus add an assumption that sighted users can understad the video.
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.
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.
@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.
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?
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)
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.
https://github.com/w3c/wcag/issues/3642 has been resolved:
No, SC 1.2.1 does not require alternative for time-based media for video-only to be visible.