WCAG Encyclopedia

1.4.2 · PerceivableLevel A

Audio Control

If sound plays automatically for more than three seconds, there has to be a way to stop it — a control on the page, not just the operating system volume. Screen reader users cannot hear their own screen reader over it.

Principle
Perceivable
Guideline
1.4
Level
A
In WCAG since
2.0
Number
1.4.2

Broken, then fixed

The same interface twice: first with the mistake, then with the smallest change that fixes it.

Broken: Autoplaying audio with no control on the page.

A background video with sound starts as the page loads.

A screen reader user now has two voices competing and cannot hear the one that would let them find the mute button. Turning down the system volume silences their screen reader too, which ends the session.

Fixed: It does not autoplay — and if it must, a stop control comes first.

The video loads paused, with a visible play control.

The simplest way to pass is not to autoplay. Where autoplay is required, put a pause or mute control at the very start of the tab order, so it can be reached before anything else.

How to test

Check your own interface against 1.4.2, one step at a time.

  1. Load each page with the sound on and wait. Note any audio that starts without you pressing anything, including background music and videos that play by themselves.
  2. Time each one. Audio that stops by itself within 3 seconds passes.
  3. For audio that runs longer, look for a control that pauses or stops it, or one that turns its volume down separately from your computer’s volume.
  4. Check the control is near the top of the page and you reach it early with the Tab key, so a screen reader user can find it while the audio plays over their screen reader.
  5. Use the control and check the audio stops or goes quiet.

Common questions

Is the computer’s own volume control enough for 1.4.2?

No. Turning the system volume down silences the screen reader too. The page needs its own way to pause, stop or quieten the audio.

Does 1.4.2 apply to a video the user starts?

No. It covers audio that plays by itself. Audio started by pressing a clearly labelled play button is the user’s choice.

Does a short notification sound fail 1.4.2?

No, when it lasts 3 seconds or less. Only audio that plays by itself for longer needs a control.

Try it yourself

A lab is a small working piece of interface that you change yourself. Read its steps, use the controls under it, and watch the verdict line at the bottom: it says whether the criterion passes or fails as you go. Reset puts it back.

Try it: quiet the autoplay

How to use this lab

  1. Goal. Stop a track that plays as the page loads from drowning out Jo’s screen reader.
  2. The controls. The choices under “The page offers” are No control, Pause at the top and Volume at the top: what the page gives Jo to quiet the track. The choices under “The track” make it play for 2 seconds or on a loop. Wait 2 seconds and Run the clock move a mock clock; the site is silent, so the sound is drawn as a level meter.
  3. Try this. The lab starts with No control and Plays on a loop, and fails. Press Run the clock and watch the track keep playing over Jo’s screen reader. Then choose Plays for 2 seconds, or Pause at the top, and run the clock again.
  4. What it means. If the sound stops within 3 seconds, or the page has a control to pause it or turn it down apart from the system volume, 1.4.2 passes. If it plays for more than 3 seconds with nothing to stop it, 1.4.2 fails: screen reader users can’t hear their screen reader over it. The verdict line under the lab says which.
The page offers
The track
Mock time 0:00
  1. 0:00 The track starts playing as the page loads

1.4.2 fails

Also in guideline 1.4

Criteria in the same guideline often fail together.