You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+82-59Lines changed: 82 additions & 59 deletions
Original file line number
Diff line number
Diff line change
@@ -402,8 +402,7 @@
HTML Element Role Mappings
402
402
<trtabindex="-1" id="el-aside">
403
403
<th>
404
404
<adata-cite="HTML">`aside`a>
405
-
(scoped to a <adata-cite="HTML/dom.html#sectioning-content">sectioning contenta> element,
406
-
or a <adata-cite="HTML/sections.html#sectioning-root">sectioning roota> element other than `body`)
405
+
(scoped to a <adata-cite="HTML/dom.html#sectioning-content">sectioning contenta> element)
407
406
th>
408
407
<tdclass="aria">
409
408
<aclass="core-mapping" href="#role-map-complementary">`complementary`a> role if the <a>`aside`a> element has an <adata-cite="accname-1.2/#dfn-accessible-name">accessible namea>.
@@ -1102,8 +1101,7 @@
HTML Element Role Mappings
1102
1101
<trtabindex="-1" id="el-footer">
1103
1102
<th>
1104
1103
<adata-cite="HTML">`footer`a> (scoped to the <adata-cite="HTML">`main`a> element,
1105
-
a <adata-cite="HTML/dom.html#sectioning-content">sectioning contenta> element,
1106
-
or a <adata-cite="HTML/sections.html#sectioning-root">sectioning roota> element other than <adata-cite="HTML">`body`a>)
1104
+
a <adata-cite="HTML/dom.html#sectioning-content">sectioning contenta> element)
1107
1105
th>
1108
1106
<tdclass="aria">
1109
1107
<aclass="core-mapping" href="#role-map-generic">`generic`a> role
@@ -1204,7 +1202,7 @@
HTML Element Role Mappings
1204
1202
tr>
1205
1203
<trtabindex="-1" id="el-header">
1206
1204
<th>
1207
-
<adata-cite="html">`header`a> (scoped to the <adata-cite="html">`main`a> element, a <adata-cite="html/dom.html#sectioning-content">sectioning contenta> element, or a <adata-cite="html/sections.html#sectioning-root">sectioning roota> element other than <adata-cite="html">`body`a>)
1205
+
<adata-cite="html">`header`a> (scoped to the <adata-cite="html">`main`a> element, or a <adata-cite="html/dom.html#sectioning-content">sectioning contenta> element)
1208
1206
th>
1209
1207
<tdclass="aria">
1210
1208
<aclass="core-mapping" href="#role-map-generic">`generic`a> role
@@ -1234,13 +1232,17 @@
HTML Element Role Mappings
1234
1232
<th>
1235
1233
<adata-cite="HTML">`hgroup`a>
1236
1234
th>
1237
-
<tdclass="aria"><aclass="core-mapping" href="#role-map-generic">`generic`a> role td>
1235
+
<tdclass="aria"><aclass="core-mapping" href="#role-map-group">`group`a> role td>
<spanclass="type">Relations:span> `IA2_RELATION_LABEL_FOR` with a form control that is child to the `label` or referred to by the `label` element's <ahref="#att-for-label">`for`a> attribute. The associated form element has `IA2_RELATION_LABELLED_BY` pointing to the `label`.
2105
+
<spanclass="type">Relations:span>
2106
+
`IA2_RELATION_LABEL_FOR` with a <adata-cite="html/forms.html#category-label">labelable elementa>
2107
+
that is child to the `label` or referred to by the `label` element's <ahref="#att-for-label">`for`a> attribute.
2108
+
The associated labelable element has `IA2_RELATION_LABELLED_BY` pointing to the `label`.
2104
2109
div>
2105
2110
td>
2106
2111
<tdclass="uia">
2107
2112
<divclass="ctrltype">
2108
2113
<spanclass="type">Control Type:span> `Text`
2109
2114
div>
2110
-
<divclass="properties">
2111
-
<spanclass="type">Other properties:span>
2112
-
When the `label` element contains an `input` element, the `LabeledBy` property for the `input` element points to the UIA element for the `label` element.
2113
-
<p>When the `label` element has a <ahref="#att-for-label">`for`a> attribute referencing another element, the `LabeledBy` property for the referenced element points to the UIA element for the `label` element.p>
2115
+
<div>
2116
+
<spanclass="type">Relations:span>
2117
+
<div>
2118
+
When the `label` element contains a <adata-cite="html/forms.html#category-label">labelable elementa>, the `LabeledBy` property for
2119
+
the element points to the UIA element for the `label` element.
2120
+
div>
2121
+
<div>
2122
+
When the `label` element has a <ahref="#att-for-label">`for`a> attribute referencing a
2123
+
<adata-cite="html/forms.html#category-label">labelable elementa>, the `LabeledBy` property for the referenced element points to
2124
+
the UIA element for the `label` element.
2125
+
div>
2114
2126
div>
2115
2127
td>
2116
2128
<tdclass="atk">
2117
2129
<divclass="role">
2118
2130
<spanclass="type">Role:span> `ATK_ROLE_LABEL`
2119
2131
div>
2120
2132
<divclass="relations">
2121
-
<spanclass="type">Relations: span>
2122
-
`ATK_RELATION_LABEL_FOR` for a child form element or form element referred by <ahref="#att-for-label">`for`a> attribute. Note, related form element provides `ATK_RELATION_LABELLED_BY` pointing to the label.
2133
+
<spanclass="type">Relations:span>
2134
+
`ATK_RELATION_LABEL_FOR` for a child <adata-cite="html/forms.html#category-label">labelable elementa> or
2135
+
labelable element referred by <ahref="#att-for-label">`for`a> attribute.
2136
+
Note, related labelable element provides `ATK_RELATION_LABELLED_BY` pointing to the `label`.
<spanclass="type">Text attributes:span> `text-line-through-style:solid` on the text container
2667
-
div>
2668
-
td>
2669
-
<tdclass="uia">
2670
-
<divclass="general">No accessible object. Styles used are exposed by UIA text attribute identifiers of the `TextRange` Control Pattern implemented on a parent accessible object.
2671
-
div>
2672
-
td>
2673
-
<tdclass="atk">
2674
-
<divclass="general">No accessible object. Exposed as
2675
-
"text-line-through-style:solid" text attribute on the text container.
If the element includes both the `checked` attribute and the `aria-checked` attribute with a valid value, User Agents MUST expose only the `checked` attribute value.
3586
+
If an `input` element in the `checkbox` or `radio` state includes both the `checked` attribute and the `aria-checked` attribute with a
3587
+
valid value, User Agents MUST expose only the `checked` attribute value.
If the control has an <adata-cite="wai-aria-1.2/#aria-label">`aria-label`a> or an <adata-cite="wai-aria-1.2/#aria-labelledby">`aria-labelledby`a> attribute the <adata-cite="accname-1.2/#dfn-accessible-name">accessible namea> is to be calculated using the algorithm defined in <ahref="" class="accname">Accessible Name and Description: Computation and API Mappingsa>.
5860
5880
li>
5861
5881
<li>
5862
-
Otherwise use the associated `label` element(s) <adata-cite="accname-1.2/#dfn-accessible-name">accessible namea>(s) - if more than one label is associated; concatenate by DOM order, delimited by spaces.
5882
+
Otherwise use the associated `label` element or elements <adata-cite="accname-1.2/#dfn-accessible-name">accessible name(s)a> - if more than one `label` is associated; concatenate by DOM order, delimited by spaces.
5863
5883
li>
5864
5884
<li>If the <adata-cite="accname-1.2/#dfn-accessible-name">accessible namea> is still empty, then: use the control's `title` attribute.li>
5865
5885
<li>Otherwise use the control's <ahref="#att-placeholder">placeholdera> value.li>
@@ -5948,7 +5968,7 @@
`output` Element Accessible Name Computation
5948
5968
<li>
5949
5969
If the `output` element has an <adata-cite="wai-aria-1.2/#aria-label">`aria-label`a> or an <adata-cite="wai-aria-1.2/#aria-labelledby">`aria-labelledby`a> attribute the <adata-cite="accname-1.2/#dfn-accessible-name">accessible namea> is to be calculated using the algorithm defined in <ahref="" class="accname">Accessible Name and Description: Computation and API Mappingsa>.
5950
5970
li>
5951
-
<li>Otherwise use the `output` element subtree.li>
5971
+
<li>Otherwise use the associated `label` element or elements <adata-cite="accname-1.2/#dfn-accessible-name">accessible name(s)a> - if more than one `label` is associated; concatenate by DOM order, delimited by spaces.li>
5952
5972
<li>Otherwise use `title` attribute.li>
5953
5973
<li>
5954
5974
If none of the above yield a usable text string there is no <adata-cite="accname-1.2/#dfn-accessible-name">accessible namea>.
@@ -6157,6 +6177,9 @@
Change Log
6157
6177
<section>
6158
6178
<h4>Substantive changes since moving to the <ahref="https://www.w3.org/WAI/ARIA/">Accessible Rich Internet Applications Working Groupa> (03-Nov-2019)h4>
6159
6179
<ul>
6180
+
<li>08-Mar-2023: Update `hgroup` element to be mapped to `role=group`. See <ahref="https://github.com/w3c/html-aam/pull/398">GitHub PR 398a>.li>
6181
+
<li>08-Mar-2023: Clarify naming algorithm for `output` element. See <ahref="https://github.com/w3c/html-aam/pull/402">GitHub PR 402a>.li>
6182
+
<li>12-Dec-2022: Revise mapping for `s` element to be `role=deletion`. See <ahref="https://github.com/w3c/html-aam/pull/442">GitHub PR 442a>.li>
6160
6183
<li>28-Nov-2022: Simplify accessible description computation section. See <ahref="https://github.com/w3c/html-aam/pull/444">GitHub PR 444a>.li>
6161
6184
<li>19-Jul-2022: Update `address` element to be mapped to `role=group`. See <ahref="https://github.com/w3c/html-aam/pull/420">GitHub PR 420a>.li>
6162
6185
<li>03-Apr-2022: Update `aside` mappings based on its nesting context. See <ahref="https://github.com/w3c/html-aam/pull/350">GitHub PR 350a>.li>
0 commit comments