SIA-R49<audio> or <video> that plays automatically has a control mechanism

Accessibility requirements

This rule is not required for conformance to any accessibility requirements.

Description

audio or video that plays automatically must have a control mechanism.

Applicability

This rule applies to every <audio> or <video> element that has:

  • an autoplay attribute with a value of true, and
  • a muted attribute with a value of false, and
  • a paused attribute with a value of false, and
  • a media resource with a duration of more than 3 seconds that contains audio.

Expectations

  1. For each test target a mechanism is provided to pause or stop the audio, or turn the audio volume off independently from the overall system volume control.

  2. The mechanism to pause or stop or turn the audio volume off is visible, has an accessible name that is not only whitespace , and is included in the accessibility tree.

Assumptions

This rule makes no assumptions.

Accessibility support

The native video and audio controls in several browser and assistive technology combinations are not keyboard accessible and the video or <audio> element itself may not be announced. Authors are recommended to use custom controls for keyboard navigation and cross browser accessibility support in general.

Examples

Acknowledgments

This document includes material copied from or derived from https://www.w3.org/WAI/standards-guidelines/act/rules/4c31df/. Copyright © 2024 W3C® (MIT, ERCIM, Keio, Beihang).