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
+27-53
Original file line number
Diff line number
Diff line change
@@ -1131,10 +1131,6 @@ <h2>Characteristics of Roles</h2>
1131
1131
<p>Roles define the following characteristics.</p>
1132
1132
<section id="isAbstract">
1133
1133
<h3>Abstract Roles</h3>
1134
-
<dl class="runin">
1135
-
<dt>Values</dt>
1136
-
<dd>Boolean</dd>
1137
-
</dl>
1138
1134
<p>
1139
1135
Abstract <a>roles</a> are the foundation upon which all other <abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> roles are built. Authors MUST NOT use abstract roles
1140
1136
because they are not implemented in the <abbr title="Application Programming Interface">API</abbr> binding. User agents MUST NOT map abstract roles to the standard role mechanism of the
<p class="note">An element with the appropriate <a href="#implicit_semantics">implicit WAI-ARIA semantic</a> fulfills this requirement.</p>
1257
1253
</section>
1258
1254
<section id="namecalculation">
1259
-
<h3>Accessible Name Calculation</h3>
1260
-
<dl class="runin">
1261
-
<dt>Values</dt>
1262
-
<dd>
1263
-
One of the following values:
1264
-
<ol>
1265
-
<li>
1266
-
author: name comes from values provided by the author in explicit markup features such as the <pref>aria-label</pref> attribute, the <pref>aria-labelledby</pref> attribute, or the
1267
-
host language labeling mechanism, such as the <code>alt</code> or <code>title</code> attributes in HTML, with HTML <code>title</code> attribute having the lowest precedence for
1268
-
specifying a text alternative.
1269
-
</li>
1270
-
<li>
1271
-
contents: name comes from the text value of the <a>element</a> node. Although this might be allowed in addition to "author" in some <a>roles</a>, this is used in content only if
1272
-
higher priority "author" features are not provided. Priority is defined by the
1273
-
<a href="#mapping_additional_nd_te" class="accname">accessible name and description computation</a> algorithm [[ACCNAME-1.2]].
1274
-
</li>
1275
-
<li>prohibited: the element does not support name from author. Authors MUST NOT use the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attributes to name the element.</li>
1276
-
</ol>
1277
-
</dd>
1278
-
</dl>
1279
-
<section id="namecomputation">
1280
-
<h4>Name Computation</h4>
1281
-
<p><a href="#mapping_additional_nd_name" class="accname">Name Computation</a> is defined in the Accessible Name and Description specification.</p>
1282
-
</section>
1283
-
<section id="descriptioncomputation">
1284
-
<h4>Description Computation</h4>
1285
-
<p><a href="#mapping_additional_nd_description" class="accname">Description Computation</a> is defined in the Accessible Name and Description specification.</p>
1286
-
</section>
1287
-
<section id="textalternativecomputation">
1288
-
<h4>Accessible Name and Description Computation</h4>
1289
-
<p><a href="#mapping_additional_nd_te" class="accname">Accessible Name and Description Computation</a> is defined in the Accessible Name and Description specification.</p>
1290
-
</section>
1255
+
<h3>Name From</h3>
1256
+
<p>
1257
+
Determines which content contributes to the <cite><a href="" class="accname">Accessible Name and Description Computation</a></cite> [[ACCNAME-1.2]].
1258
+
</p>
1259
+
<p>One of the following values:</p>
1260
+
<ol>
1261
+
<li>
1262
+
author: name comes from values provided by the author in explicit markup features such as the <pref>aria-label</pref> attribute, the <pref>aria-labelledby</pref> attribute, or the host
1263
+
language labeling mechanism, such as the <code>alt</code> or <code>title</code> attributes in <abbr title="Hypertext Markup Language">HTML</abbr>, with HTML <code>title</code> attribute
1264
+
having the lowest precedence for specifying a text alternative.
1265
+
</li>
1266
+
<li>
1267
+
contents: name comes from the text value of the <a>element</a> node. Although this might be allowed in addition to "author" in some <a>roles</a>, this is used in content only if higher
1268
+
priority "author" features are not provided. Priority is defined by the <cite><a href="" class="accname">Accessible Name and Description Computation</a></cite> [[ACCNAME-1.2]].
1269
+
</li>
1270
+
<li>prohibited: the element does not support name from author. Authors MUST NOT use the <pref>aria-label</pref> or <pref>aria-labelledby</pref> attributes to name the element.</li>
1271
+
</ol>
1291
1272
<section id="namefromauthor">
1292
1273
<h4>Roles Supporting Name from Author</h4>
1293
1274
<div id="index_fromauthor"></div>
@@ -1302,15 +1283,9 @@ <h4>Roles which cannot be named (Name prohibited)</h4>
The <abbr title="Document Object Model">DOM</abbr> descendants are presentational. [=user agents=] SHOULD NOT expose descendants of this <a>element</a> through the platform
1288
+
Indicates whether DOM descendants are presentational. [=user agents=] SHOULD NOT expose descendants of this <a>element</a> through the platform
>. If [=user agents=] do not hide the descendant nodes, some information might be read twice.
1316
1291
</p>
@@ -13382,10 +13357,10 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
13382
13357
</ul>
13383
13358
13384
13359
<p>
13385
-
Unlike elements referenced by <code>aria-describedby</code>, elements referenced by <code>aria-details</code> are not used in the Accessible
13386
-
<a href="#mapping_additional_nd_description" class="accname">Description Computation</a> as defined in the Accessible Name and Description specification. Thus, the content of elements
13387
-
referenced by <code>aria-details</code> are not flattened to a string when presented to assistive technology users. This makes <code>aria-details</code> particularly useful when
13388
-
converting the information to a string would cause a loss of information or make the extended information more difficult to understand.
13360
+
Unlike elements referenced by <code>aria-describedby</code>, elements referenced by <code>aria-details</code> are not used in the Accessible Description Computation as defined in the
13361
+
<cite><a href="" class="accname">Accessible Name and Description Computation</a></cite> [[ACCNAME-1.2]]. Thus, the content of elements referenced by <code>aria-details</code> are not
13362
+
flattened to a string when presented to assistive technology users. This makes <code>aria-details</code> particularly useful when converting the information to a string would cause a
13363
+
loss of information or make the extended information more difficult to understand.
13389
13364
</p>
13390
13365
<p>
13391
13366
The <code>aria-details</code> property supports referring to multiple elements. For example, a paragraph in a document editor might reference multiple comments that are not related to
@@ -14286,10 +14261,9 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
14286
14261
Most host languages provide an attribute that could be used to name the element (e.g., the <code>[^html-global/title^]</code> attribute in HTML), yet this could present a browser
14287
14262
tooltip. In the cases where DOM content or a tooltip is undesirable, authors MAY set the accessible name of the element using <pref>aria-label</pref>, if the element does not
14288
14263
<a href="#prohibitedattributes">prohibit</a> use of the attribute. If the label text is available in the DOM (i.e. typically visible text content), authors SHOULD use
14289
-
<pref>aria-labelledby</pref> and SHOULD NOT use <pref>aria-label</pref>. There might be instances where the name of an element cannot be determined programmatically from the DOM, and
14264
+
<pref>aria-labelledby</pref> and SHOULD NOT use <pref>aria-label</pref>. There might be instances where the name of an element cannot be determined programmatically from the DOM, and
14290
14265
there are cases where referencing DOM content is not the desired user experience. Authors MUST NOT specify <code>aria-label</code> on an element which has an explicit or implicit
14291
-
WAI-ARIA role where <code>aria-label</code> is <a href="#prohibitedattributes">prohibited</a>. As required by the
14292
-
<a href="#textalternativecomputation">accessible name and description computation</a>, user agents give precedence to <pref>aria-labelledby</pref> over <pref>aria-label</pref> when
14266
+
WAI-ARIA role where <code>aria-label</code> is <a href="#prohibitedattributes">prohibited</a>. As required by the <cite><a href="" class="accname">Accessible Name and Description Computation</a></cite> [[ACCNAME-1.2]], user agents give precedence to <pref>aria-labelledby</pref> over <pref>aria-label</pref> when
14293
14267
computing the accessible name property.
14294
14268
</p>
14295
14269
</div>
@@ -14334,7 +14308,7 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
14334
14308
<p>
14335
14309
If the interface is such that it is not possible to have a visible label on the screen, authors SHOULD use <pref>aria-label</pref> and SHOULD NOT use <pref>aria-labelledby</pref>.
14336
14310
Authors MUST NOT specify <code>aria-labelledby</code> on an element which has an explicit or implicit WAI-ARIA role where <code>aria-labelledby</code> is
14337
-
<a href="#prohibitedattributes">prohibited</a>. As required by the <a href="#textalternativecomputation">accessible name and description computation</a>, user agents give precedence to
14311
+
<a href="#prohibitedattributes">prohibited</a>. As required by the <cite><a href="" class="accname">Accessible Name and Description Computation</a></cite> [[ACCNAME-1.2]], user agents give precedence to
14338
14312
<pref>aria-labelledby</pref> over <pref>aria-label</pref> when computing the accessible name property.
14339
14313
</p>
14340
14314
<p>
@@ -15151,7 +15125,7 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
15151
15125
</p>
15152
15126
<p>
15153
15127
When text changes are denoted as relevant, user agents MUST monitor any descendant node change that affects the
15154
-
<a href="#textalternativecomputation">accessible name and description computation</a> of the live region as if the accessible name were determined from contents (<a
15128
+
<cite><a href="" class="accname">Accessible Name and Description Computation</a></cite> [[ACCNAME-1.2]] of the live region as if the accessible name were determined from contents (<a
15155
15129
href="#namecalculation"
15156
15130
>nameFrom: contents</a
15157
15131
>). For example, a text change would be triggered if the HTML <code>alt</code> attribute of a contained image changed. However, no change would be triggered if there was a text change to
0 commit comments