Skip to content

Commit 4d5d364

Browse files
authored
Editorial: move img def to image (#2076)
1 parent d2c9883 commit 4d5d364

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

index.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3861,21 +3861,15 @@ <h2>Definition of Roles</h2>
38613861
<rdef>image</rdef>
38623862
<div class="role-description">
38633863
<p>A container for a collection of [=elements=] that form an image. See synonym <rref>img</rref>.</p>
3864+
<p>An <code>img</code> can contain captions and descriptive text, as well as multiple image files that when viewed together give the impression of a single image. An <code>img</code> represents a single graphic within a document, whether or not it is formed by a collection of drawing <a>objects</a>. In order for an element with a <a>role</a> of <code>img</code> to be <a>perceivable</a>, authors MUST provide the element with an <a class="informative">accessible name</a>. This can be done using the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attribute.</p>
38643865
<div class="note" id="role-image-note-image">
38653866
Note regarding the ARIA 1.3 <code>image</code> role.
3866-
<p>The <code>image</code> was added to ARIA in version 1.3 as a
3867+
<p>The <code>image</code> role was added to ARIA in version 1.3 as a
38673868
synonym of the ARIA 1.0 <rref>img</rref> role. The <code>image</code>
38683869
role improves syntactic consistency with the names of other roles,
38693870
which are complete words or concatenations of complete words.</p>
38703871
</div>
38713872
</div>
3872-
</div>
3873-
<div class="role" id="img">
3874-
<rdef>img</rdef>
3875-
<div class="role-description">
3876-
<p>A container for a collection of [=elements=] that form an image. See synonym <rref>image</rref>.</p>
3877-
<p>An <code>img</code> can contain captions and descriptive text, as well as multiple image files that when viewed together give the impression of a single image. An <code>img</code> represents a single graphic within a document, whether or not it is formed by a collection of drawing <a>objects</a>. In order for an element with a <a>role</a> of <code>img</code> to be <a>perceivable</a>, authors MUST provide the element with an <a class="informative">accessible name</a>. This can be done using the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attribute.</p>
3878-
</div>
38793873
<table class="role-features">
38803874
<caption>Characteristics:</caption>
38813875
<thead>
@@ -3904,7 +3898,6 @@ <h2>Definition of Roles</h2>
39043898
<tr>
39053899
<th class="role-related-head" scope="row">Related Concepts:</th>
39063900
<td class="role-related"><code>&lt;[^img^]&gt;</code> in HTML</td>
3907-
39083901
</tr>
39093902
<tr>
39103903
<th class="role-scope-head" scope="row">Required Accessibility Parent Roles:</th>
@@ -3949,6 +3942,12 @@ <h2>Definition of Roles</h2>
39493942
</tbody>
39503943
</table>
39513944
</div>
3945+
<div class="role" id="img">
3946+
<rdef>img</rdef>
3947+
<div class="role-description">
3948+
<p>A container for a collection of [=elements=] that form an image. See synonym <rref>image</rref>.</p>
3949+
</div>
3950+
</div>
39523951
<div class="role" id="input">
39533952
<rdef>input</rdef>
39543953
<div class="role-description">

0 commit comments

Comments
 (0)