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: accname/index.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -639,11 +639,11 @@ <h4>Computation steps</h4>
639
639
<liid="comp_host_language_label">
640
640
<spanid="step2E"><!-- Don't link to this legacy numbered ID. --></span><em>Host Language Label:</em> Otherwise, if the <code>current node</code>'s native markup provides an
641
641
[=attribute=] (e.g. <code>alt</code>) or [=element=] (e.g. HTML <code>label</code> or SVG <code>title</code>) that defines a text alternative, return that alternative in the form of
642
-
a <code>flat string</code> as defined by the host language, unless the <code>current node</code> is exposed as presentational (<code>role="presentation"</code> or
643
-
<code>role="none"</code>).
642
+
a <code>flat string</code> as defined by the host language (e.g., <ahref="https://www.w3.org/TR/html-aam-1.0/#accessible-name-and-description-computation">HTML-AAM</a>), unless the
643
+
<code>current node</code> is exposed as presentational (<code>role="presentation"</code> or <code>role="none"</code>).
644
644
<divclass="note">
645
-
See <ahref="https://www.w3.org/TR/html-aam-1.0/#accessible-name-and-description-computation">HTML-AAM</a>,
646
-
<ahref="https://www.w3.org/TR/svg-aam-1.0/#mapping_additional_nd">SVG-AAM</a>, or other host language documentation for more information on markup that defines a text alternative.
645
+
Important! The accessiblename for native HTML elements may be calculated differently depending on host language. Make sure to review
646
+
<ahref="https://www.w3.org/TR/html-aam-1.0/#accessible-name-and-description-computation">HTML-AAM</a>for more information.
User Agents MUST expose an <a class="core-mapping" href="#ariaDetails">`aria-details`</a> relationship with the associated element (identified via the specified `commandfor`
9343
+
attribute) <strong>except</strong> under the following conditions:
9344
+
</p>
9345
+
<ul>
9346
+
<li>The associated popover element is the next immediate accessibility sibling to the invoking element,</li>
9347
+
<li>The element is a descendant of the `popover` it is associated with.</li>
9348
+
</ul>
9349
+
<p class="note">
9350
+
A button that represents a <a data-cite="html/forms.html#concept-submit-button">submit button</a> or is in the
9351
+
<a data-cite="html/input.html#reset-button-state-(type=reset)">reset state</a> with a [=button/form owner=] cannot invoke a command.
9352
+
</p>
9353
+
</td>
9354
+
</tr>
9355
+
</tbody>
9356
+
</table>
9357
+
<h4 id="att-command-dialogs">`command` <span class="att-context">(in the Close and Show Modal states)</span></h4>
<div class="general">A `command` attribute in the `close` and `show-modal` states provide no additional accessibility mappings to the `button` element.</div>
<p>The `commandfor` attribute identifies the associated element for the `button` element.</p>
9466
+
<p>The specified `command` state will determine if a relationship mapping needs to be exposed between the `button` and its programmatically associated element.</p>
<p>If the associated element is not a valid `popover` element: no `aria-expanded` mapping.</p>
13499
13698
</div>
13500
13699
</td>
13501
13700
</tr>
@@ -16597,6 +16796,7 @@ <h3>Change Log</h3>
16597
16796
<section>
16598
16797
<h4>Substantive changes since moving to the <a href="https://www.w3.org/WAI/ARIA/">Accessible Rich Internet Applications Working Group</a> (03-Nov-2019)</h4>
16599
16798
<ul>
16799
+
<li>2-April-2025: Add `command` and `commandfor` attribute mappings. See <a href="https://github.com/w3c/aria/pull/2354/">GitHub ARIA PR 2354</a>.</li>
16600
16800
<li>11-July-2024: User Agents ignore `aria-hidden=true` on `body` and `html` elements. See <a href="https://github.com/w3c/html-aam/pull/516">GitHub PR 516</a>.</li>
16601
16801
<li>06-June-2024: Add concept of Minimum Role. See <a href="https://github.com/w3c/html-aam/pull/454">GitHub PR 454</a>.</li>
16602
16802
<li>06-June-2024: Add `popover`, `popovertarget` and `popovertargetaction` mappings. See <a href="https://github.com/w3c/html-aam/pull/481">GitHub PR 481</a>.</li>
Copy file name to clipboardExpand all lines: index.html
+5-6Lines changed: 5 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1052,7 +1052,7 @@ <h3>Information for User Agents</h3>
1052
1052
set <abbr title="Document Object Model">DOM</abbr> focus to the element that has the <pref>aria-activedescendant</pref> attribute.
1053
1053
<p class="note">
1054
1054
An element with an ID can be referenced when it is an <a>accessibility descendant</a> of a container element that has the <pref>aria-activedescendant</pref> attribute or by a
1055
-
container element that is controlled by an element that has the <pref>aria-activedescendant</pref> attribute (e.g. see <rref>combobox</rref>). Otherwise the
1055
+
container element that is controlled by an element that has the <pref>aria-activedescendant</pref> attribute (e.g., see <rref>combobox</rref>). Otherwise the
1056
1056
<pref>aria-activedescendant</pref> attribute reference indicates an author error.
1057
1057
</p>
1058
1058
<p class="note">The inability to set <abbr title="Document Object Model">DOM</abbr> focus to the containing element indicates an author error.</p>
@@ -2571,7 +2571,7 @@ <h2>Definition of Roles</h2>
2571
2571
<p>
2572
2572
The primary purpose of the code role is to inform assistive technologies that the content is computer code and thus might require special presentation, in particular with respect to
2573
2573
synthesized speech. More specifically, screen readers and other tools which provide text-to-speech presentation of content SHOULD prefer full punctuation verbosity to ensure common
2574
-
symbols (e.g. "-") are spoken.
2574
+
symbols (e.g., "-") are spoken.
2575
2575
</p>
2576
2576
</div>
2577
2577
<table class="def">
@@ -5520,7 +5520,6 @@ <h2>Definition of Roles</h2>
5520
5520
<td class="role-properties">
5521
5521
<ul>
5522
5522
<li><pref>aria-errormessage</pref></li>
5523
-
<li><sref>aria-expanded</sref></li>
5524
5523
<li><sref>aria-invalid</sref></li>
5525
5524
<li><pref>aria-multiselectable</pref></li>
5526
5525
<li><pref>aria-readonly</pref></li>
@@ -14260,7 +14259,7 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
14260
14259
<p>
14261
14260
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
14262
14261
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
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
14262
+
<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
14264
14263
<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
14265
14264
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
14266
14265
WAI-ARIA role where <code>aria-label</code> is <a href="#prohibitedattributes">prohibited</a>. As required by the
example, the only valid spelling for "multi-selectable" is hyphenated, so <pref>aria-multiselectable</pref> becomes <code>ariaMultiSelectable</code> with both the M and S capitalized.
16992
16991
</li>
16993
16992
<li>
16994
-
When trusted dictionary sources list both hyphenated or non-hyphenated spellings (e.g. "multi-line" and "multiline" are both valid spellings) use the hyphenated version and apply the
16993
+
When trusted dictionary sources list both hyphenated or non-hyphenated spellings (e.g., "multi-line" and "multiline" are both valid spellings) use the hyphenated version and apply the
16995
16994
hyphenation rule above. For example, <pref>aria-multiline</pref> becomes <code>ariaMultiLine</code> with both the M and L capitalized.
16996
16995
</li>
16997
16996
<li>
16998
16997
If all trusted dictionary sources list a single spelling of a compound word with no spaces or hyphens, only the first letter of the term is capitalized. For example, neither
16999
16998
“place-holder” nor “place holder” are considered valid spellings of the term “placeholder,” so <pref>aria-placeholder</pref> becomes <code>ariaPlaceholder</code> with only the P
17000
16999
capitalized.
17001
17000
</li>
17002
-
<li>There are currently no acronym-based ARIA attributes, but if future attributes include acronym usage, attempt to match existing DOM conventions (e.g. ID becomes Id).</li>
17001
+
<li>There are currently no acronym-based ARIA attributes, but if future attributes include acronym usage, attempt to match existing DOM conventions (e.g., ID becomes Id).</li>
0 commit comments