Skip to content

Commit

Permalink
add mention of image role (#498)
Browse files Browse the repository at this point in the history
Co-authored-by: Valerie Young <[email protected]>
  • Loading branch information
scottaohara and spectranaut authored Oct 3, 2023
1 parent 06c41c2 commit 5856839
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2964,7 +2964,8 @@ <h4 id=el-img>`img`</h4>
<tr>
<th>[[wai-aria-1.2]]</th>
<td>
<a class="core-mapping" href="#role-map-img">`img`</a> role
<a class="core-mapping" href="#role-map-image">`image`</a>
or <a class="core-mapping" href="#role-map-img">`img`</a>role
</td>
</tr>
<tr>
Expand Down Expand Up @@ -2995,6 +2996,10 @@ <h4 id=el-img>`img`</h4>
<tr>
<th>Comments</th>
<td>
<p class="note">
ARIA 1.3 adds the `image` role as the preferred synonym to the ARIA 1.0 `img` role.
The expected computed role for named `img` elements is now "image".
</p>
</td>
</tr>
</tbody>
Expand All @@ -3014,6 +3019,7 @@ <h4 id=el-img-empty-alt>`img` <span class="el-context">(`alt`attribute value is
<th>[[wai-aria-1.2]]</th>
<td>
<div class="role">
<a class="core-mapping" href="#role-map-none">`none`</a> or
<a class="core-mapping" href="#role-map-presentation">`presentation`</a>
</div>
</td>
Expand Down Expand Up @@ -16741,6 +16747,7 @@ <h3>Change Log</h3>
<section>
<h4>Substantive changes since moving to the <a href="https://www.w3.org/WAI/ARIA/">Accessible Rich Internet Applications Working Group</a> (03-Nov-2019)</h4>
<ul>
<li>03-Oct-2023: Update image mappings to reference the primary synonym roles (`image` and `none`). See <a href="https://github.com/w3c/html-aam/pull/498">GitHub PR 498</a>.</li>
<li>03-Oct-2023: Clarify when to expose required field as invalid. See <a href="https://github.com/w3c/html-aam/pull/429">GitHub PR 429</a>.</li>
<li>06-Jun-2023: Add computed roles for all HTML elements. See <a href="https://github.com/w3c/html-aam/pull/465">GitHub PR 465</a>.</li>
<li>28-Mar-2023: Add `inert` attribute mapping. See <a href="https://github.com/w3c/html-aam/pull/410">GitHub PR 410</a>.</li>
Expand Down

0 comments on commit 5856839

Please sign in to comment.