Skip to content

Commit

Permalink
update s element mapping
Browse files Browse the repository at this point in the history
closes #416 

revises the `<s>` element to map to ARIA's `deletion` role, rather than having no implicit ARIA mapping.
Introducing this mapping would allow for browsers to expose this role, and thus AT to better communicate that the content is marked as no longer relevant.  Presently authors need to employ visually hidden content to programmatically convey what the element visually represents with its default UA CSS strike-through.
  • Loading branch information
scottaohara authored Oct 19, 2022
1 parent 36fa626 commit 22b3990
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2659,33 +2659,13 @@ <h3>HTML Element Role Mappings</h3>
</tr>
<tr tabindex="-1" id="el-s">
<th><a data-cite="HTML">`s`</a></th>
<td class="aria">No corresponding role</td>
<td class="ia2">
<div class="general">No accessible object.</div>
<div class="properties">
<span class="type">Text attributes:</span> `text-line-through-style:solid` on the text container
</div>
</td>
<td class="uia">
<div class="general">No accessible object. Styles used are exposed by UIA text attribute identifiers of the `TextRange` Control Pattern implemented on a parent accessible object.
</div>
</td>
<td class="atk">
<div class="general">No accessible object. Exposed as
"text-line-through-style:solid" text attribute on the text container.
</div>
</td>
<td class="ax">
<div class="role">
<span class="type">AXRole:</span> `AXGroup`
</div>
<div class="subrole">
<span class="type">AXSubrole:</span> `(nil)`
</div>
<div class="roledesc">
<span class="type">AXRoleDescription:</span> `"group"`
</div>
<td class="aria">
<a class="core-mapping" href="#role-map-deletion">`deletion`</a> role
</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>
</tr>
Expand Down

0 comments on commit 22b3990

Please sign in to comment.