Skip to content

Commit c1ecd49

Browse files
Jym77tbostic32carlosapaduarte
authored
"Audio or video element avoids automatically playing audio" [80f0bf]: Add Accessibility Support note about autoplay not being respected (#2076)
* Move requirement as secondary * Move note as an Accessibility Support issue * Typos Co-authored-by: Trevor R. Bostic <32486143+tbostic32@users.noreply.github.com> * Revert to primary requirement * Buff up note --------- Co-authored-by: Trevor R. Bostic <32486143+tbostic32@users.noreply.github.com> Co-authored-by: Carlos Duarte <caduarte@campus.ul.pt>
1 parent 86a8b09 commit c1ecd49

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

_rules/audio-or-video-avoids-automatically-playing-audio-80f0bf.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ For each test target, the [outcome](#outcome) of at least one of the following r
7575

7676
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. Some major browsers no longer automatically play the 'video' unless the 'video' is muted.
7777

78+
User agents do not always automatically play media, even when an `autoplay` attribute is present. This is done to avoid autoplaying media interrupting the user when they do not want to, especially when the media is likely to contain sound. The decision to respect the `autoplay` attribute or not depends on user settings and previous behavior (interaction with the site). Therefore, some media files may fail this rule but satisfy [Success Criterion 1.4.2 Audio Control][sc142] on some combination of User Agent and user settings. The rule considers that the presence of the `autoplay` attribute is an indication of the author intention to have automatically playing media, and therefore requires the author to provide a mechanism to control the sound.
79+
7880
## Background
7981

8082
The [instruments][instrument] used to pass this rule (if any), must meet all level A Success Criteria in order to fully satisfy [Success Criterion 1.4.2 Audio Control][sc142]. These extra requirements are left out of this rule, and should be tested separately.

0 commit comments

Comments
 (0)