WCAG 1.4.2 — Audio Control — Auto-Playing Audio Cannot Be Stopped
Audio or video files on your website start playing automatically when the page loads, and visitors cannot pause or stop them. This interferes with screen readers and creates accessibility barriers. Under ADA Title II, auto-playing media must include user controls or be limited to 3 seconds or less.
Who Is Affected
Screen reader users (who cannot hear their assistive technology over the auto-playing audio), people with hearing aids (who experience feedback), users with cognitive disabilities (who may be startled or distracted), and anyone in quiet environments who cannot immediately locate the stop button.
What This Means
When audio plays automatically for more than 3 seconds, users must be able to pause, stop, or control the volume independently from the system volume. This prevents auto-playing media from interfering with screen readers and gives users control over their browsing experience.
Auto-playing audio is particularly problematic because screen reader users cannot hear their assistive technology speaking page content while background audio is playing. Even brief audio can be disorienting for users with cognitive disabilities.
Fix: CMS / Theme
Most auto-playing audio issues occur when themes or plugins are configured to start media automatically.
Joomla
- Go to Extensions → Modules and check for any audio/video modules.
- Edit each media module and look for "Autoplay" or "Auto Start" settings.
- Set autoplay to "No" or "False" for all media modules.
- If using a custom HTML module with embedded audio, add
controlsattribute and removeautoplayfrom the<audio>or<video>tag.
WordPress
- Go to Appearance → Widgets or Appearance → Customize → Widgets.
- Check any media widgets for autoplay settings and disable them.
- If using plugins like Revolution Slider or media gallery plugins, review their settings:
- Look for "Autoplay" options in plugin settings
- Disable autoplay for audio/video content
- For Gutenberg audio/video blocks, edit the block and uncheck "Autoplay" in the block settings.
General Theme Fix
If your theme includes background music or ambient audio:
- Locate the theme's audio configuration (often in Customizer → Audio or Theme Options).
- Either disable the audio entirely or ensure it includes visible pause/stop controls.
- If keeping audio, limit it to 3 seconds or less, or provide controls that are keyboard accessible.
Fix: Content Editor
For content editors who have added audio to specific pages:
- Edit the page containing the auto-playing audio.
- Locate any audio or video elements (may be in HTML view).
- For HTML audio elements:
- Remove the
autoplayattribute - Add the
controlsattribute:<audio controls src="audio.mp3">
- Remove the
- For embedded media (YouTube, Vimeo):
- Check embed parameters and remove
autoplay=1 - For YouTube: ensure URL parameter is
autoplay=0
- Check embed parameters and remove
- For media gallery blocks or shortcodes:
- Edit the block/shortcode settings
- Disable autoplay and enable user controls
Standard Reference
WCAG 2.1 Success Criterion 1.4.2 — Audio Control, Level A
If any audio on a Web page plays automatically for more than 3 seconds, either a mechanism is available to pause or stop the audio, or a mechanism is available to control audio volume independently from the overall system volume level.
- W3C Understanding SC 1.4.2
- WCAG Technique G60 — Playing sound for no more than three seconds
- WCAG Technique G170 — Providing control at the beginning
- WCAG Technique G171 — Playing sounds only on user request
- WCAG Failure F23 — Playing sound longer than 3 seconds without pause mechanism
- WCAG Failure F93 — Failure due to invalid use of autoplay on audio elements
Check if your government website has this issue
OctoComply scans your website and documents for WCAG 2.1 AA violations. The free tier covers up to 10 pages.
Run a Free Scan