Skip to content

Commit

Permalink
start marking generics
Browse files Browse the repository at this point in the history
starts on issue #346, indicate some of the elements that will map to, or under certain conditions map to `generic`

* autonomous custom elements
* div
* form without accessible name
* form associated custom elements
* section without accessible name
  • Loading branch information
scottaohara committed Sep 29, 2021
1 parent 34c10e7 commit cbda1a2
Showing 1 changed file with 14 additions and 76 deletions.
90 changes: 14 additions & 76 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ <h3>HTML Element Role Mappings</h3>
<th>
<a data-cite="HTML">autonomous custom element</a>
</th>
<td class="aria">If the author assigned a conforming ARIA role using the `role` attribute, map to that role. Otherwise, no corresponding role.</td>
<td class="aria">If the author assigned a conforming ARIA role using the `role` attribute, map to that role. Otherwise, the <a class="core-mapping" href="#role-map-generic">`generic`</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>
Expand Down Expand Up @@ -915,47 +915,12 @@ <h3>HTML Element Role Mappings</h3>
<a data-cite="HTML">`div`</a>
</th>
<td class="aria">
No corresponding role
</td>
<td class="ia2">
<div class="general">
May not have an accessible object if has no semantic meaning. Otherwise,
</div>
<div class="role">
<span class="type">Roles:</span> `ROLE_SYSTEM_GROUPING`; `IA2_ROLE_SECTION`
</div>
<div class="ifaces">
<span class="type">Interfaces:</span>
`IAccessibleText2`; `IAccessibleHypertext2`;
</div>
</td>
<td class="uia">
<div class="ctrltype">
<span class="type">Control Type:</span> `Group`
</div>
</td>
<td class="atk">
<div class="general">
May not have an accessible object if has no semantic meaning. Otherwise,
</div>
<div class="role">
<span class="type">Role:</span> `ATK_ROLE_SECTION`
</div>
<div class="ifaces">
<span class="type">Interfaces:</span> `AtkText`; `AtkHypertext`
</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>
<a class="core-mapping" href="#role-map-generic">`generic`</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="comments"></td>
</tr>
<tr tabindex="-1" id="el-dl">
Expand Down Expand Up @@ -1172,7 +1137,6 @@ <h3>HTML Element Role Mappings</h3>
<div class="role">
<span class="type">AXRole:</span> Use WAI-ARIA mapping
</div>
<div class="subrole"></div>
</td>
<td class="comments"></td>
</tr>
Expand Down Expand Up @@ -1250,7 +1214,7 @@ <h3>HTML Element Role Mappings</h3>
<a data-cite="HTML">`form`</a> with an <a class="termref">accessible name</a>
</th>
<td class="aria">
<a class="core-mapping" href="#role-map-form ">`form`</a> role
<a class="core-mapping" href="#role-map-form">`form`</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>
Expand All @@ -1262,49 +1226,23 @@ <h3>HTML Element Role Mappings</h3>
<th>
<a data-cite="HTML">`form`</a> without an <a class="termref">accessible name</a>
</th>
<td class="aria">No corresponding role</td>
<td class="ia2">
<div class="role">
<span class="type">Role:</span> `ROLE_SYSTEM_GROUPING`; `IA2_ROLE_SECTION`
</div>
<div class="ifaces">
<span class="type">Interfaces:</span> `IAccessibleText2`; `IAccessibleHypertext2`;
</div>
</td>
<td class="aria"><a class="core-mapping" href="#role-map-generic">`generic`</a> role</td>
<td class="ia2"><div class="general">Use WAI-ARIA mapping</div></td>
<td class="uia">
<div class="ctrltype">
<span class="type">Control Type:</span> `Group`
</div>
<div class="general">Use WAI-ARIA mapping</div>
<div class="ctrltype">
<span class="type">Localized Control Type:</span> `"form"`
</div>
</td>
<td class="atk">
<div class="role">
<span class="type">Role: </span> `ATK_ROLE_SECTION`
</div>
<div class="ifaces">
<span class="type">Interfaces: </span> `AtkText`; `AtkHypertext`
</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>
<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="comments"></td>
</tr>
<tr tabindex="-1" id="el-form-associated-custom-element">
<th>
<a data-cite="html/custom-elements.html#custom-elements-face-example">form-associated custom element</a>
</th>
<td class="aria">If the author assigned a conforming ARIA role using the `role` attribute, map to that role. Otherwise, no corresponding role.</td>
<td class="aria">If the author assigned a conforming ARIA role using the `role` attribute, map to that role. Otherwise, the <a class="core-mapping" href="#role-map-generic">`generic`</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>
Expand Down Expand Up @@ -2996,7 +2934,7 @@ <h3>HTML Element Role Mappings</h3>
<tr tabindex="-1" id="el-section">
<th><a data-cite="HTML">`section`</a></th>
<td class="aria">
<a class="core-mapping" href="#role-map-region">`region`</a> role if the <a>`section`</a> element has an <a class="termref">accessible name</a>. Otherwise, no corresponding role.
<a class="core-mapping" href="#role-map-region">`region`</a> role if the <a>`section`</a> element has an <a class="termref">accessible name</a>. Otherwise, the <a class="core-mapping" href="#role-map-generic">`generic`</a> role.
</td>
<td class="ia2">
<div class="general">
Expand Down

0 comments on commit cbda1a2

Please sign in to comment.