Main content


Warning: count(): Parameter must be an array or an object that implements Countable in /home/dair/public_html/components/com_k2/models/item.php on line 763

Autoplay

Importance

 Critical

Applies to

Developers

Use for

Mobile & Web

Section 508:

  • §1194.31(a)
  • §1194.31(b)

WCAG 2.0:

  • 1.4.2

Audio must not play automatically unless a method is provided to pause or stop the audio

When audio plays automatically within multimedia, the sound may interfere with a user's ability to navigate with assistive technologies that utilize speech. It is difficult for a user to navigate to the playback control and disable the audio features while listening to the speech output from the assistive technology.

HTML

Do not play audio automatically unless a setting where the user can opt in before content is autpplayed and the user is forewarned.

HTML Example

<object width="200" height="16">
<param name="autoplay" value="false">
<embed src="/drums.mov" width="200"
height="16" autoplay="false">Rock and Roll
Drums</embed> 
</object>

HTML Failure

<object width="200" height="16">
<param name="autoplay" value="true">
<embed src="/drums.mov" width="200"
height="16" autoplay="true"></embed> 
</object>

/* Flash example */
A flash movie loads and an avatar begins talking about features of a site.

Remediating

Audio output within multimedia must not play automatically when the page loads. If audio content must load automatically, ensure the audio output plays for a maximum of 3 seconds or there is a mechanism near the top of the page to stop or pause the audio.

Testing

Recommended tool/method: Manual / Screen Reader

Ensure audio does not play automatically on load
  1. Verify that audio does not begin automatically when the module loads
  2. If audio does play, verify the audio stops after 3 seconds or a method is provided to pause or stop the audio

Warning: count(): Parameter must be an array or an object that implements Countable in /home/dair/public_html/components/com_k2/templates/default/item.php on line 248
More in this category: Text to Speech »