Skip to main content

WCAG 1.4.2 — Audio Control — Auto-Playing Audio Cannot Be Stopped

seriousWCAG 1.4.2 · Level Acms scope

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

  1. Go to Extensions → Modules and check for any audio/video modules.
  2. Edit each media module and look for "Autoplay" or "Auto Start" settings.
  3. Set autoplay to "No" or "False" for all media modules.
  4. If using a custom HTML module with embedded audio, add controls attribute and remove autoplay from the <audio> or <video> tag.

WordPress

  1. Go to Appearance → Widgets or Appearance → Customize → Widgets.
  2. Check any media widgets for autoplay settings and disable them.
  3. 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
  4. 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:

  1. Locate the theme's audio configuration (often in Customizer → Audio or Theme Options).
  2. Either disable the audio entirely or ensure it includes visible pause/stop controls.
  3. 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:

  1. Edit the page containing the auto-playing audio.
  2. Locate any audio or video elements (may be in HTML view).
  3. For HTML audio elements:
    • Remove the autoplay attribute
    • Add the controls attribute: <audio controls src="audio.mp3">
  4. For embedded media (YouTube, Vimeo):
    • Check embed parameters and remove autoplay=1
    • For YouTube: ensure URL parameter is autoplay=0
  5. 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.

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