Media must not play sound automatically for more than 3 seconds

Sound that starts on its own and lasts more than 3 seconds must be easy to stop. Don't autoplay audio, or give visitors a visible control to pause or mute it.

Rule IDno-autoplay-audio
ImpactModerate
Success criterion 1.4.2 Audio Control · A
StandardsWCAG 2.0 · WCAG 2.1 · WCAG 2.2 · Section 508 · EN 301 549
Readabler fix Fixed automatically

Example

Before
<section class="hero">
  <video autoplay src="resort-tour.mp4"></video>
  <h1>Welcome to Lakeside Spa Resort</h1>
</section>

The soundtrack drowns out the screen reader's speech, and there is no control to stop it.

After
<section class="hero">
  <video autoplay muted controls src="resort-tour.mp4"></video>
  <h1>Welcome to Lakeside Spa Resort</h1>
</section>

The video plays silently with controls; the screen reader is heard clearly, and visitors can unmute it.

Why it matters

Blind visitors listen to their screen reader. When a page starts playing music or speech, the two sounds mix and the screen reader becomes hard or impossible to understand, at the very moment the visitor needs it to find the stop button. If that button is far down the page or missing, they may leave.

People who use hearing aids, people with attention or cognitive disabilities, and people who are sensitive to sudden noise are also affected. Unexpected sound is unwelcome for anyone browsing in an office or on public transport, and most browsers now block autoplay with sound for that reason.

How to fix it

Pick the approach that fits the media.

Background or hero video. Autoplay it muted, or don't autoplay it at all. A muted video passes:

<video autoplay muted loop playsinline src="resort-tour.mp4"></video>

Moving video still needs a pause control if it runs for more than 5 seconds, so add controls or your own pause button.

Audio that must start by itself. Keep it to 3 seconds or less, for example a short notification sound.

Longer sound that must start by itself. Provide a control to pause, stop or mute it, and place it at the start of the page so a keyboard or screen reader user reaches it first:

<button type="button" id="mute-music" aria-pressed="false">Mute background music</button>
<audio autoplay loop src="ambient.mp3"></audio>

Custom players. If you hide the native controls, make sure your own play, pause and volume buttons work with the keyboard and have clear names.

Better still, let visitors start playback themselves: it is simpler for everyone and works around browser autoplay restrictions.

Checklist

  1. Avoid autoplaying media with sound.
  2. Add muted to background and hero videos.
  3. Keep unavoidable autoplay sound to 3 seconds or less.
  4. Put a pause or mute control at the start of the page.

How the check works

The check looks at <audio> and <video> elements with autoplay that have a source and are not muted. A looping element passes only if it has controls. Otherwise the check measures how long the media will play: 3 seconds or less passes, longer passes only with controls. Results are flagged for review, because custom players may offer their own controls. Sound started by scripts is not tested.

Resources

Updated October 27, 2026