How to fix: sound plays automatically
WCAG 2.2 success criterion 1.4.2 (level A)
Why it matters
Auto-playing audio drowns out screen readers.
How to fix
Do not autoplay sound for more than 3 seconds, or give an easy way to pause it.
<video controls muted autoplay src="hero.mp4"></video>
Test it yourself
- Load the page with the sound on: nothing should start playing sound by itself for more than 3 seconds, or there must be an easy way to stop it.
Common mistakes
- A background video with sound on the front page.
- A mute button that only appears after the video has started, deep in the player controls.
Check your own site
Find this and other problems on your website in 30 seconds, free.