Skip to content

Commit 7c8f085

Browse files
committed
section maps to region only if acc name, otherwise to div
#79
1 parent e9b1bfe commit 7c8f085

File tree

1 file changed

+42
-17
lines changed

1 file changed

+42
-17
lines changed

index.html

Lines changed: 42 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3041,25 +3041,50 @@

HTML Element Role Mappings

30413041
<td class="comments">td>
30423042
tr>
30433043
<tr tabindex="-1" id="el-section">
3044-
<th><a href="http://www.w3.org/TR/html51/semantics.html#the-section-element"><code>sectioncode>a>th>
3045-
<td class="aria"><p><a class="core-mapping" href="#role-map-region"><code>regioncode>a> role p>
3046-
<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">sectiona> elements, when the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element">sectiona> element has an <a class="termref">accessible namea>.p>td>
3047-
<td class="ia2"><div class="general">Use WAI-ARIA mappingdiv>td>
3044+
<th><a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>sectioncode>a>th>
3045+
<td class="aria">
3046+
<a class="core-mapping" href="#role-map-region"><code>regioncode>a> role if the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>sectioncode>a> element has an <a class="termref">accessible namea>. Otherwise, no corresponding role.
3047+
td>
3048+
<td class="ia2">
3049+
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>sectioncode>a> element has an <a class="termref">accessible namea>, use WAI-ARIA mapping. Otherwise:div>
3050+
<div class="role">
3051+
<span class="type">Roles: span><code>ROLE_SYSTEM_GROUPINGcode>; <code>IA2_ROLE_SECTIONcode>
3052+
div>
3053+
<div class="ifaces">
3054+
<span class="type">Interfaces: span><code>IAccessibleText2code>; <code>IAccessibleHypertext2code>;
3055+
div>
3056+
td>
30483057
<td class="uia">
3049-
<div class="ctrltype">
3050-
<span class="type">Control Type: span><code>Groupcode>
3051-
div>
3052-
<div class="ctrltype"><span class="type">Localized Control Type:span> <code>"section"code> (all lower-case)
3053-
div>
3054-
<div class="ctrltype">
3055-
<span class="type">Landmark Type:span> <code>Customcode>
3056-
div>
3057-
<div class="ctrltype">
3058-
<span class="type">Localized Landmark Type:span> <code>"region"code> (all lower-case)
3059-
div>
3058+
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>sectioncode>a> element has an <a class="termref">accessible namea>:div>
3059+
<div class="ctrltype"><span class="type">Control Type: span><code>Groupcode>div>
3060+
<div class="ctrltype"><span class="type">Localized Control Type:span> <code>"section"code> (all lower-case)div>
3061+
<div class="ctrltype"><span class="type">Landmark Type:span> <code>Customcode>div>
3062+
<div class="ctrltype"><span class="type">Localized Landmark Type:span> <code>"region"code> (all lower-case)div>
3063+
<div class="general">Otherwise:div>
3064+
<div class="ctrltype"><span class="type">Control Type: span><code>Groupcode>div>
3065+
td>
3066+
<td class="atk">
3067+
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>sectioncode>a> element has an <a class="termref">accessible namea>, use WAI-ARIA mapping. Otherwise:div>
3068+
<div class="role">
3069+
<span class="type">Role: span>
3070+
<code>ATK_ROLE_SECTIONcode>
3071+
div>
3072+
<div class="ifaces">
3073+
<span class="type">Interfaces: span><code>AtkTextcode>; <code>AtkHypertextcode>
3074+
div>
3075+
td>
3076+
<td class="ax">
3077+
<div class="general">If the <a href="http://www.w3.org/TR/html5/sections.html#the-section-element"><code>sectioncode>a> element has an <a class="termref">accessible namea>, use WAI-ARIA mapping. Otherwise:div>
3078+
<div class="role">
3079+
<span class="type">AXRole: span><code>AXGroupcode>
3080+
div>
3081+
<div class="subrole">
3082+
<span class="type">AXSubrole: span><code>(nil)code>
3083+
div>
3084+
<div class="roledesc">
3085+
<span class="type">AXRoleDescription: span><code>"group"code>
3086+
div>
30603087
td>
3061-
<td class="atk"><div class="general">Use WAI-ARIA mappingdiv>td>
3062-
<td class="ax"><div class="general">Use WAI-ARIA mappingdiv>td>
30633088
<td class="comments">td>
30643089
tr>
30653090
<tr tabindex="-1" id="el-select-listbox">

0 commit comments

Comments
 (0)