Skip to content

Commit

Permalink
Correction: update aria-checked allowances (#372)
Browse files Browse the repository at this point in the history
closes  #361
* update aria-checked allowances
* update change log
  • Loading branch information
scottaohara committed Apr 16, 2022
1 parent f1cae02 commit c6d14a9
Showing 1 changed file with 22 additions and 13 deletions.
35 changes: 22 additions & 13 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1464,8 +1464,8 @@ <h2 id="docconformance">
or <a href="#index-aria-switch">`switch`</a>;
<a href="#index-aria-button">`button` if used with `aria-pressed`</a>
</p>
<p>
Authors <a href="#att-checked">SHOULD NOT use the `aria-checked` attribute on `input type=checkbox` elements</a>.
<p class="proposed addition">
Authors <a href="#att-checked">MUST NOT use the `aria-checked` attribute on `input type=checkbox` elements</a>.
</p>
<p>
Otherwise, any <a data-cite="wai-aria-1.2#global_states">global `aria-*` attributes</a> and
Expand Down Expand Up @@ -1661,8 +1661,8 @@ <h2 id="docconformance">
Role:
<a href="#index-aria-menuitemradio">`menuitemradio`</a>
</p>
<p>
Authors <a href="#att-checked">SHOULD NOT use the
<p class="proposed addition">
Authors <a href="#att-checked">MUST NOT use the
`aria-checked` attribute on `input type=radio` elements</a>.
</p>
<p>
Expand Down Expand Up @@ -3230,15 +3230,18 @@ <h3 id="docconformance-attr">
`aria-checked="true"`
</td>
<td>
<div class="proposed addition">
<p>
Use the `checked` attribute on any element that is allowed the `checked` attribute in HTML.
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.
</p>
<p>
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">checkedness</a>, or the
indeterminate checked value of the element can be in opposition to the current value of the `aria-checked` attribute.
</p>
</div>
<p>
Use the `checked` attribute on any element that is
allowed the `checked` attribute in HTML.
</p>
<p>
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">checkedness</a> of the element can be in opposition to the current value of the `aria-checked` attribute.
</p>
<p>
Authors MAY use the `aria-checked` attribute on any other element with a WAI-ARIA role which allows the attribute.
Authors MAY use the `aria-checked` attribute on any other element with a WAI-ARIA role which allows the attribute.
</p>
</td>
</tr>
Expand Down Expand Up @@ -4732,8 +4735,14 @@ <h2>
</section>
<section class="informative">
<h2>Change log</h2>
<p>The <a href="https://github.com/w3c/html-aria/commits/">full commit history</a> for this specification.</p>

<h3>Substantive changes since the last published Recommendation</h3>
<ul>
<li>
16-Apr-2022:
<a href="#att-checked">`aria-checked`</a> is not to be used on elements that support the `checked` attribute.
</li>
<li>
03-Apr-2022:
Identify <a href="dfn-naming-prohibited">Naming Prohibited</a> elements.
Expand All @@ -4753,7 +4762,7 @@ <h3>Substantive changes since the last published Recommendation</h3>
</li>
<li>
18-Jan-2022:
Added <a href="#docconformance-deprecated">Requirements for deprecated ARIA role, state and property and attributes</a>.
Added <a href="#docconformance-deprecated">Requirements for deprecated ARIA role, state and property attributes</a>.
</li>
<li>
06-Jan-2022:
Expand Down

0 comments on commit c6d14a9

Please sign in to comment.