Video, sound and motion: what has to come with them
AccessibilityA video on the home page counts as a modern appearance.
11 min read
By Timo Wessels Published
A video on the home page counts as a modern look. But it is also the content with the most prerequisites: whoever cannot hear it needs text. Whoever cannot see it needs a description. Whoever wants neither to hear nor to see it needs a switch to stop it.
This article covers three things that belong together: video and sound, automatically running movement such as carousels and animations, and flashing.
The most important points first:
- Captions are required at the lowest level (A) and help all viewers.
- Anything that runs on its own for longer than five seconds needs a pause button. Better still, leave it out.
- Nothing may flash more than three times a second.
The four kinds of alternatives
There are four ways to make video and sound accessible to everyone. In daily life they are often mixed up (Rheinwerk, Barrierefreie Webseiten, ch. 7.10):
- Subtitles are a text rendering of what is said, in time with the picture. They also help people who can hear but do not understand the wording, for example with unclear pronunciation or in a foreign language.
- Captions (the extended kind) are for deaf and hard-of-hearing users. They contain more than speech: important sounds, music that means something, and who is speaking. For example “[Door slams]” or “[Speaker:]”. MDN describes it the same way: captions contain translation or transcription of the dialogue, sound effects, music and the source of a sound.
- Transcripts are a complete text version. They also describe important picture and sound content. A transcript is a document and not text faded in.
- Audio description is an extra soundtrack that describes what can be seen. For blind users it is the only way to purely visual information.
A fifth way is sign language, a translation faded in. It belongs to the highest level (AAA) and is a special case in practice.
What is required at which level
The WCAG are the international guidelines for accessible websites. Each rule has a level: A (base level), AA, AAA (strictest). The requirements depend on what the video contains and whether it is recorded or live:
| Rule | What is required | Level |
|---|---|---|
| 1.2.2 | Captions for recorded videos with sound | A |
| 1.2.4 | Captions for live broadcasts | AA |
| 1.2.5 | Audio description for recorded videos | AA |
| 1.2.6 | Sign language | AAA |
The W3C writes of 1.2.2: for all recorded audio in video there must be synchronised text. For 1.2.5: videos need a synchronised spoken description of the picture that blind users can hear too.
For a normal business website that means: captions are Level A, so not negotiable. Audio description is Level AA.
For a brand film the audio description is often the harder part, because a lot is shown and little said. But there is a simple way out: if everything that happens in the picture is also said anyway, no separate audio description is needed. This can be considered in the script, and it is much cheaper than producing a second soundtrack afterwards. That is my recommendation.
Captions should match the soundtrack. Captions that lag behind are unpleasant for the viewer and useless for people who also lip-read (Rheinwerk, ch. 7.12).
Captions are not only for the deaf
This is the argument with which I convince clients. It is well backed: more than 100 studies show, according to Gernsbacher, Video Captions Benefit Everyone (2015), that captions improve comprehension, attention and memory, for all viewers and not only for deaf ones (after Rheinwerk, ch. 7.10; I could not open the study itself because the publisher’s page showed a bot check).
Particularly helped:
- People who watch the video in a foreign language.
- Children and adults learning to read.
- Everyone who watches the video without sound: on the train, in an open-plan office, in the evening beside a sleeping child. On mobile devices, by my observation, a considerable share of all videos runs silent.
Captions are one of the few points where the accessibility requirement and the commercial interest ask for exactly the same.
How to get captions
Three ways (my practice):
Write them yourself or have them written. The most exact, the most work.
Automatic speech recognition, then correct. YouTube generates captions automatically, and they can be edited afterwards. This is the way I recommend to most clients: the machine does the bulk, you correct technical terms, names and punctuation. For a five-minute video that is, in my experience, about twenty minutes of work. It does not work without editing, because automatic captions reliably fail on proper names, technical terms and dialect, exactly the words that matter for your business.
A service provider. For legally sensitive or especially long content.
Technically the caption file is mostly in WebVTT format, a plain text file with times:
WEBVTT
1
00:00:01.000 --> 00:00:05.000
Welcome to our presentation of the accessibility check.
2
00:00:05.500 --> 00:00:10.000
We show you what the process looks like.
It is included with the <track> element. According to MDN it specifies a timed text track for a video. The attribute kind sets the type, for example captions for captions with sounds:
<video controls>
<source src="company-film.mp4" type="video/mp4">
<track kind="captions" src="captions.vtt" srclang="en" label="English" default>
<track kind="descriptions" src="audio-description.vtt" srclang="en" label="English">
</video>
The user switches captions on and off in the video controls. The look can be adjusted with CSS. Watch for enough contrast between text and background and for the captions to stay long enough to be read.
If you embed your video from YouTube or Vimeo, the provider takes over this part. Then the question is: is the player itself operable? Check that it can be fully operated with the keyboard and that you can tab out of it again.
Embedded videos: three topics at once
A foreign-hosted video brings three questions that are best decided together:
Load time. Video files are large. A self-hosted video needs a fast server, otherwise it stutters, and on the mobile network it becomes unusable. Providers like YouTube and Vimeo deliver from distributed servers and adapt the resolution to the device. That is their technical advantage.
Operability. It lies with the provider. What you have not built yourself you cannot repair yourself.
Data protection. An embedded video opens a connection to the foreign server as soon as the page loads, with everything that is transmitted along with it. That needs a data-protection-compliant integration, usually with consent before anything is loaded. There is an article of its own on this.
For short videos on a small website, self-hosting is often simpler, because the question of consent disappears. For longer or many videos the provider wins. That is my assessment.
Movement that starts by itself
The rule is WCAG 2.2.2 “Pause, Stop, Hide” (Level A). The W3C describes: if something moves, blinks or scrolls, and all of the following apply, the user needs a way to pause, stop or hide it:
- It starts automatically.
- It lasts longer than five seconds.
- It is shown in parallel with other content.
That includes image carousels on the home page that advance automatically, tickers and news crawls, animated backgrounds and video loops in the header, pop-ups like “10 people are looking at this offer right now”, and permanently running animated GIFs.
Why this is more than a formality: movement draws the eye. For people with attention disorders, with certain cognitive impairments, and for everyone who is easily distracted while reading, an automatically running carousel beside the text is a real barrier. You cannot look away.
The exception: the movement is an essential part of an activity. The W3C gives the example of a loading phase where a display would otherwise give the impression that the page has frozen.
The solution for a carousel: a clearly visible pause button that stops the automatic advance.
My honest recommendation: mostly the better rebuild is to leave the carousel out. Automatically advancing sliders on the home page have the worst ratio of effort to effect: they cost load time, make work for operability, and hardly anyone sees the second and third slide. A single good image with a clear message works more strongly.
Flashing
The rule is WCAG 2.3.1 “Three Flashes or Below Threshold” (Level A). The W3C writes: nothing may flash more than three times in any one second, unless the flashing is below the set thresholds. The reason: flashing content can cause migraines, dizziness, nausea and seizures. For people with photosensitive epilepsy, an epilepsy that reacts to light stimuli, flashing light can trigger a seizure.
The thresholds are complicated. The W3C works with a 10 degree field of view. As an approximation it takes a block of 341 × 256 CSS pixels, so a flashing area of 87,296 CSS pixels.
Because hardly anyone calculates that, the stricter rule at Level AAA (2.3.2) is simpler and more sensible: no more than three flashes per second, however bright and however large the area.
Check videos, animations and GIFs so that nothing changes faster than three times a second. For most business websites this is uncritical. It becomes relevant with ad videos with fast cuts and with animations in the header.
How to check it yourself
- Sound off. Watch your video without sound. Do you understand what it is about? If not, captions are missing.
- Picture off. Listen to your video without looking. Are you missing something important? Then you need an audio description, or you change the text so that what is shown is also said.
- Proofread the captions. If they are generated automatically, read them through once completely. Company names, product names and technical terms are reliably wrong.
- The keyboard test on the player. Tab to the video, then: play, pause, volume, captions on, tab out again. With embedded players this fails more often than with self-hosted ones.
- The five-second question. Go through the home page and see what moves without your having done anything. Is there a way to stop each one?
- The stopwatch look at animations. Anything that changes faster than three times a second should be checked.
What you can do
- Captions first. They are Level A, they help everyone, and with automatic recognition plus correction they are made in manageable time.
- Add a transcript where it makes sense. It is extra work but has an often underestimated side effect: it is text that search engines and AI systems can read. The content of your video otherwise does not exist for them.
- Switch carousels off or give them a pause button. Switching off is mostly better.
- Never start sound automatically. There is no good reason for it, and browsers increasingly prevent it themselves.
- Think of the captions while shooting the next video, not afterwards. Whoever writes the script anyway has the caption text nearly done. And whoever takes care while writing that what is shown is also said saves the audio description.
Sources
- W3C, Understanding SC 1.2.2: Captions (Prerecorded) — synchronised text for audio in recorded video, Level A: w3.org(external site: w3.org)
- W3C, Understanding SC 1.2.4: Captions (Live) — captions for live video, Level AA: w3.org(external site: w3.org)
- W3C, Understanding SC 1.2.5: Audio Description (Prerecorded) — spoken description of the picture, Level AA: w3.org(external site: w3.org)
- W3C, Understanding SC 2.2.2: Pause, Stop, Hide — automatic start, more than five seconds, in parallel with other content, Level A: w3.org(external site: w3.org)
- W3C, Understanding SC 2.3.1: Three Flashes or Below Threshold — at most three flashes per second or below the thresholds; 341 × 256 CSS pixels as an approximation of a 10 degree field of view, Level A: w3.org(external site: w3.org)
- W3C, Understanding SC 2.3.2: Three Flashes — at most three flashes per second, without thresholds, Level AAA: w3.org(external site: w3.org)
- MDN, The Track element — timed text track for video and audio,
kind="captions": developer.mozilla.org(external site: developer.mozilla.org) - Rheinwerk, Barrierefreie Webseiten, ch. 7.6, 7.10, 7.12 and 8.1 — the kinds of alternatives, the assignment of rules 1.2.1 to 1.2.9, WebVTT, the drawbacks of video, the research after Gernsbacher, Video Captions Benefit Everyone (2015), flashing and blinking, movement and carousels.
- Own testing practice — avoiding audio description through a script, self-hosting or embedding for small websites, the classification of automatically running sliders, the sound-off and picture-off checks, the keyboard test on the player, the value of a transcript for search engines and AI systems.