SIA-R50<audio> or <video> avoids automatically playing audio

Accessibility requirements

This rule tests conformance of the following accessibility requirements:

Description

This rule checks that audio or video that plays automatically does not have audio that lasts for more than 3 seconds or has an audio control mechanism to stop or mute it.

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, the outcome of at least one of the following rules is passed:

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/80f0bf/. Copyright © 2024 W3C® (MIT, ERCIM, Keio, Beihang).