Skip to main content
Perceivly: Perceivly home

1.4.2 Audio Control

Level A · added in WCAG 2.0

If audio starts on its own and plays for more than 3 seconds, people need a way to pause or stop it. A volume control separate from the system volume also works. The simplest fix is not to autoplay sound at all.

Who it helps

Screen reader users can't hear their screen reader over background audio, which also makes the stop control hard to find. Autoplaying sound distracts people with attention or cognitive disabilities, and it can overwhelm hearing aid users.

How to meet it

Examples

Fails:Background music that starts by itself, with no controls
<audio src="/audio/welcome-theme.mp3" autoplay loop></audio>
Fails:A hero video that autoplays with its sound on
<video src="/video/hero.mp4" autoplay loop playsinline></video>
Passes:Audio that plays only when someone presses play
<audio src="/audio/welcome-theme.mp3" controls></audio>
Passes:A muted autoplaying video with controls to turn sound on
<video src="/video/hero.mp4" autoplay muted loop playsinline controls></video>

Can a scanner detect this?

Partly

axe-core's no-autoplay-audio rule flags audio and video elements that autoplay unmuted for more than 3 seconds without native controls, and reports them for review. It can't catch sound started by scripts or the Web Audio API, or confirm that a custom stop button works. Load the page with sound on to check.

axe-core rules that test it

Common mistakes

Official W3C explanation of 1.4.2

Check your own page

See which automated WCAG checks your page fails, with the failing elements and how to fix them.

Enter a page address, for example example.com/shop.

Reviewed November 2, 2026