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

section maps to region only if acc name, otherwise to div #85

Merged
merged 2 commits into from
Apr 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 43 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3039,27 +3039,52 @@ <h3>HTML Element Role Mappings</h3>
<td class="comments"></td>
</tr>
<tr tabindex="-1" id="el-section">
<th><a href="http://www.w3.org/TR/html51/semantics.html#the-section-element"><code>section</code></a></th>
<td class="aria"><p><a class="core-mapping" href="#role-map-region"><code>region</code></a> role </p>
<p><strong>Note:</strong>It is strongly recommended that user agents such as screen readers only convey the presence of, and provide navigation for <a href="http://www.w3.org/TR/html5/sections.html#the-section-element">section</a> elements, when the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element">section</a> element has an <a class="termref">accessible name</a>.</p></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><code>Group</code>
<th><a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>section</code></a></th>
<td class="aria">
<a class="core-mapping" href="#role-map-region"><code>region</code></a> role if the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>section</code></a> element has an <a class="termref">accessible name</a>. Otherwise, no corresponding role.
</td>
<td class="ia2">
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>section</code></a> element has an <a class="termref">accessible name</a>, use WAI-ARIA mapping. Otherwise:</div>
<div class="role">
<span class="type">Roles: </span><code>ROLE_SYSTEM_GROUPING</code>; <code>IA2_ROLE_SECTION</code>
</div>
<div class="ctrltype"><span class="type">Localized Control Type:</span> <code>"section"</code> (all lower-case)
<div class="ifaces">
<span class="type">Interfaces: </span><code>IAccessibleText2</code>; <code>IAccessibleHypertext2</code>;
</div>
<div class="ctrltype">
<span class="type">Landmark Type:</span> <code>Custom</code>
</td>
<td class="uia">
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>section</code></a> element has an <a class="termref">accessible name</a>:</div>
<div class="ctrltype"><span class="type">Control Type: </span><code>Group</code></div>
<div class="ctrltype"><span class="type">Localized Control Type:</span> <code>"section"</code> (all lower-case)</div>
<div class="ctrltype"><span class="type">Landmark Type:</span> <code>Custom</code></div>
<div class="ctrltype"><span class="type">Localized Landmark Type:</span> <code>"region"</code> (all lower-case)</div>
<div class="general">Otherwise:</div>
<div class="ctrltype"><span class="type">Control Type: </span><code>Group</code></div>
</td>
<td class="atk">
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>section</code></a> element has an <a class="termref">accessible name</a>, use WAI-ARIA mapping. Otherwise:</div>
<div class="role">
<span class="type">Role: </span>
<code>ATK_ROLE_SECTION</code>
</div>
<div class="ifaces">
<span class="type">Interfaces: </span><code>AtkText</code>; <code>AtkHypertext</code>
</div>
<div class="ctrltype">
<span class="type">Localized Landmark Type:</span> <code>"region"</code> (all lower-case)
</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>
</td>
<td class="ax">
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>section</code></a> element has an <a class="termref">accessible name</a>, use WAI-ARIA mapping. Otherwise:</div>
<div class="role">
<span class="type">AXRole: </span><code>AXGroup</code>
</div>
<div class="subrole">
<span class="type">AXSubrole: </span><code>(nil)</code>
</div>
<div class="roledesc">
<span class="type">AXRoleDescription: </span><code>"group"</code>
</div>
</td>
<td class="comments"></td>
</tr>
<tr tabindex="-1" id="el-select-listbox">
<th>
<a href="http://www.w3.org/TR/html51/semantics.html#the-select-element"><code>select</code></a>
Expand Down