Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mention of image role #498

Merged
merged 4 commits into from Oct 3, 2023
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
16 changes: 14 additions & 2 deletions index.html
Expand Up @@ -1389,14 +1389,24 @@ <h3>HTML Element Role Mappings</h3>
<th>
<a data-cite="HTML">`img`</a>
</th>
<td class="aria"><a class="core-mapping" href="#role-map-img">`img`</a> role</td>
<td class="aria">
<a class="core-mapping" href="#role-map-img">`img`</a> role
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
or
<!-- todo: update role map link if/when core aam adds in a specific image role mapping table -->
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
<a class="core-mapping" href="#role-map-image">`image`</a>
</td>
<td class="role-computed"><div class="general">Use WAI-ARIA mapping</div></td>
<td class="ia2"><div class="general">Use WAI-ARIA mapping</div></td>
<td class="uia"><div class="general">Use WAI-ARIA mapping</div></td>
<td class="atk"><div class="general">Use WAI-ARIA mapping</div></td>
<td class="ax"><div class="general">Use WAI-ARIA mapping</div></td>
<!-- <td class="naming"></td> -->
<td class="comments"></td>
<td class="comments">
<div class="note">
ARIA 1.3 adds the `image` role as a synonym of the ARIA 1.0 `img` role.
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
The expected computed role for named `img` elements is now "image".
</div>
</td>
</tr>
<tr tabindex="-1" id="el-img-empty-alt">
<th>
Expand All @@ -1407,6 +1417,8 @@ <h3>HTML Element Role Mappings</h3>
<td class="aria">
<div class="role">
<a class="core-mapping" href="#role-map-presentation">`presentation`</a>
or
<a class="core-mapping" href="#role-map-none">`none`</a>
scottaohara marked this conversation as resolved.
Show resolved Hide resolved
</div>
</td>
<td class="role-computed"><div class="general">Use WAI-ARIA mapping</div></td>
Expand Down