Audio Control
If audio plays automatically for more than three seconds, there is a way to pause or stop it, or to turn its volume down independently of the system volume.
Why it matters
A screen reader user hears their screen reader and the page's audio at the same time. If they cannot stop the audio, they cannot hear the control that would stop it. This is one of the few criteria that can make a page completely unusable.
Automatically detected
axe-core flags an <audio> or <video> element that autoplays for more than three seconds without controls. Audio started by JavaScript or embedded in an iframe is outside what it can see.
Related axe-core rules: no-autoplay-audio
Fails
<audio autoplay loop src="/media/ambient.mp3"></audio>Background music starts on load, loops forever, and has no visible control to stop it.
Passes
<audio controls src="/media/ambient.mp3"></audio>The audio does not start on its own, and the browser's controls let the user pause it. If autoplay is genuinely needed, keep controls visible and in the tab order.
Openwell finds violations like this one across your whole site, clusters them by the component that caused them, and generates a fix that's re-validated before you see it.
Scan your site free