Skip to content

Commit b571474

Browse files
Create definition of play button and update "Audio element has text alternative" plus input rules (e7aa44, 2eb176, afb423) (#1838)
* create definition of play button * Update audio-transcript-2eb176.md
1 parent e868c31 commit b571474

4 files changed

Lines changed: 18 additions & 9 deletions

File tree

_rules/audio-as-media-alternative-afb423.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ acknowledgments:
2525
This rule applies to every [non-streaming](#non-streaming-media-element) `audio` element that is:
2626

2727
- playing; or,
28-
- has a "play button" that is [visible][] and [included in the accessibility tree][].
29-
30-
**Note:** A play button is an interactive element that when activated, plays the audio.
28+
- has a [play button][] that is [visible][] and [included in the accessibility tree][].
3129

3230
## Expectation 1
3331

@@ -191,4 +189,5 @@ This `audio` element describes some of the text on the same page. The text on th
191189
```
192190

193191
[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'
192+
[play button]: #play-button 'Definition of play button'
194193
[visible]: #visible 'Definition of visible'

_rules/audio-text-alternative-e7aa44.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ acknowledgments:
3535
This rule applies to any [non-streaming](#non-streaming-media-element) `audio` element for which at least one of the following is true:
3636

3737
- has an `autoplay` [attribute value][] of true; or,
38-
- has a "play button" that is [visible][] and [included in the accessibility tree](#included-in-the-accessibility-tree).
39-
40-
**Note:** A play button is an interactive element that when activated, plays the audio.
38+
- has a [play button][] that is [visible][] and [included in the accessibility tree](#included-in-the-accessibility-tree).
4139

4240
## Expectation
4341

@@ -203,4 +201,5 @@ This `a` element links to an audio file, but there is no `audio` element on this
203201
```
204202

205203
[attribute value]: #attribute-value 'Definition of Attribute Value'
204+
[play button]: #play-button 'Definition of play button'
206205
[visible]: #visible 'Definition of visible'

_rules/audio-transcript-2eb176.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ acknowledgments:
2525
This rule applies to every [non-streaming](#non-streaming-media-element) `audio` element that is:
2626

2727
- playing; or,
28-
- has a "play button" that is [visible][] and [included in the accessibility tree][].
29-
30-
**Note:** A play button is an interactive element that when activated, plays the audio.
28+
- has a [play button][] that is [visible][] and [included in the accessibility tree][].
3129

3230
## Expectation
3331

@@ -197,4 +195,5 @@ This `audio` element has hidden native player controls.
197195
```
198196

199197
[included in the accessibility tree]: #included-in-the-accessibility-tree 'Definition of included in the accessibility tree'
198+
[play button]: #play-button 'Definition of play button'
200199
[visible]: #visible 'Definition of visible'

pages/glossary/play-button.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: Play button
3+
key: play-button
4+
unambiguous: true
5+
objective: false
6+
---
7+
8+
A play button is an [instrument][] that when [activated][] plays a [media resource][].
9+
10+
[activated]: https://html.spec.whatwg.org/#activation
11+
[instrument]: #instrument-to-achieve-an-objective
12+
[media resource]: https://html.spec.whatwg.org/multipage/media.html#media-resource

0 commit comments

Comments
 (0)