Audio Control
Summary:
WCAG criterion 1.4.2, "Audio Control," is all about giving users control over audio that plays on a website or app. This criterion ensures that any audio (especially background sound) that starts automatically and lasts more than 3 seconds can be paused, stopped, or controlled without affecting the overall functionality.
What:
This guideline requires that websites and apps provide a mechanism to pause, stop, or control the volume of any audio that plays automatically. This is crucial for users who find unexpected sound distracting or who use screen readers and other assistive technologies.
Why:
Automatic audio can be a major barrier for users with auditory disabilities, those who use screen readers, and even users in quiet environments (like libraries). Providing control over audio ensures a more accessible and less disruptive experience for everyone.
Examples and Scenarios:
- Background Music on Websites: If a site plays background music, there should be clear controls to pause, stop, or adjust the volume.
- Auto-playing Videos: Videos that play automatically on a webpage should have options to pause or mute the sound.
- Audio Alerts in Apps: Ensure that any audio alerts in apps can be controlled or turned off, especially if they start automatically.
How to Comply:
- Websites: Add visible and easily accessible controls for any media that plays sound automatically. Ensure these controls are keyboard accessible.
- Mobile Apps: Provide settings within the app to control audio features, including muting or adjusting volume.
- Software Applications: Implement audio controls prominently, and ensure they are accessible through both mouse and keyboard inputs.
Exceptions:
- Alerts and Essential Sounds: If the audio is essential for conveying information or for legal and security purposes (like alerts), it may be exempt from these controls.