Skip to content

Commit c6d14a9

Browse files
authored
Correction: update aria-checked allowances (#372)
closes #361 * update aria-checked allowances * update change log
1 parent f1cae02 commit c6d14a9

File tree

1 file changed

+22
-13
lines changed

1 file changed

+22
-13
lines changed

index.html

Lines changed: 22 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,8 +1464,8 @@

14641464
or <a href="#index-aria-switch">`switch`a>;
14651465
<a href="#index-aria-button">`button` if used with `aria-pressed`a>
14661466
p>
1467-
<p>
1468-
Authors <a href="#att-checked">SHOULD NOT use the `aria-checked` attribute on `input type=checkbox` elementsa>.
1467+
<p class="proposed addition">
1468+
Authors <a href="#att-checked">MUST NOT use the `aria-checked` attribute on `input type=checkbox` elementsa>.
14691469
p>
14701470
<p>
14711471
Otherwise, any <a data-cite="wai-aria-1.2#global_states">global `aria-*` attributesa> and
@@ -1661,8 +1661,8 @@

16611661
Role:
16621662
<a href="#index-aria-menuitemradio">`menuitemradio`a>
16631663
p>
1664-
<p>
1665-
Authors <a href="#att-checked">SHOULD NOT use the
1664+
<p class="proposed addition">
1665+
Authors <a href="#att-checked">MUST NOT use the
16661666
`aria-checked` attribute on `input type=radio` elementsa>.
16671667
p>
16681668
<p>
@@ -3230,15 +3230,18 @@

32303230
`aria-checked="true"`
32313231
td>
32323232
<td>
3233+
<div class="proposed addition">
3234+
<p>
3235+
Use the `checked` attribute on any element that is allowed the `checked` attribute in HTML.
3236+
Use the <a data-cite="html/input.html#dom-input-indeterminate">`indeterminate`a> IDL attribute to indicate the "mixed" state for <a data-cite="html/input.html#checkbox-state-(type=checkbox)">`input type=checkbox`a> elements.
3237+
p>
3238+
<p>
3239+
Authors MUST NOT use the <a data-cite="wai-aria-1.2#aria-checked">`aria-checked`a> attribute on any element where the <a data-cite="html/form-control-infrastructure.html#concept-fe-checked">checkednessa>, or the
3240+
indeterminate checked value of the element can be in opposition to the current value of the `aria-checked` attribute.
3241+
p>
3242+
div>
32333243
<p>
3234-
Use the `checked` attribute on any element that is
3235-
allowed the `checked` attribute in HTML.
3236-
p>
3237-
<p>
3238-
Authors SHOULD NOT use the <a data-cite="wai-aria-1.2#aria-checked">`aria-checked`a> attribute on any element where the <a data-cite="html/form-control-infrastructure.html#concept-fe-checked">checkednessa> of the element can be in opposition to the current value of the `aria-checked` attribute.
3239-
p>
3240-
<p>
3241-
Authors MAY use the `aria-checked` attribute on any other element with a WAI-ARIA role which allows the attribute.
3244+
Authors MAY use the `aria-checked` attribute on any other element with a WAI-ARIA role which allows the attribute.
32423245
p>
32433246
td>
32443247
tr>
@@ -4732,8 +4735,14 @@

47324735
section>
47334736
<section class="informative">
47344737
<h2>Change logh2>
4738+
<p>The <a href="https://github.com/w3c/html-aria/commits/">full commit historya> for this specification.p>
4739+
47354740
<h3>Substantive changes since the last published Recommendationh3>
47364741
<ul>
4742+
<li>
4743+
16-Apr-2022:
4744+
<a href="#att-checked">`aria-checked`a> is not to be used on elements that support the `checked` attribute.
4745+
li>
47374746
<li>
47384747
03-Apr-2022:
47394748
Identify <a href="dfn-naming-prohibited">Naming Prohibiteda> elements.
@@ -4753,7 +4762,7 @@

Substantive changes since the last published Recommendation

47534762
li>
47544763
<li>
47554764
18-Jan-2022:
4756-
Added <a href="#docconformance-deprecated">Requirements for deprecated ARIA role, state and property and attributesa>.
4765+
Added <a href="#docconformance-deprecated">Requirements for deprecated ARIA role, state and property attributesa>.
47574766
li>
47584767
<li>
47594768
06-Jan-2022:

0 commit comments

Comments
 (0)