From ac7ecda5f94e07d201fb149c6ec0c4cd5062cc6c Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Tue, 9 Nov 2021 19:42:31 -0500 Subject: [PATCH 1/2] update aria-checked allowances closes #361 --- index.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 9a76f506..d0fcb933 100644 --- a/index.html +++ b/index.html @@ -1268,8 +1268,8 @@

or `switch`; `button` if used with `aria-pressed`.

-

- Authors SHOULD NOT use the `aria-checked` attribute on `input type=checkbox` elements. +

+ Authors MUST NOT use the `aria-checked` attribute on `input type=checkbox` elements.

Otherwise, any global `aria-*` attributes and @@ -1462,8 +1462,8 @@

Role: `menuitemradio`

-

- Authors SHOULD NOT use the +

+ Authors MUST NOT use the `aria-checked` attribute on `input type=radio` elements.

@@ -2907,15 +2907,17 @@

`aria-checked="true"` +
+

+ Use the `checked` attribute on any element that is allowed the `checked` attribute in HTML. Use the `indeterminate` IDL attribute to indicate the "mixed" state for `input type=checkbox` elements. +

+

+ Authors MUST NOT use the `aria-checked` attribute on any element where the checkedness, or the + indeterminate checked value of the element can be in opposition to the current value of the `aria-checked` attribute. +

+

- Use the `checked` attribute on any element that is - allowed the `checked` attribute in HTML. -

-

- Authors SHOULD NOT use the `aria-checked` attribute on any element where the checkedness of the element can be in opposition to the current value of the `aria-checked` attribute. -

-

- 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.

From ade71e73f0cb8cb25a4d001e95a88d4c32c3ed9f Mon Sep 17 00:00:00 2001 From: Scott O'Hara Date: Sat, 16 Apr 2022 11:08:29 -0400 Subject: [PATCH 2/2] update changelog --- index.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 5b68acb9..2b2ab728 100644 --- a/index.html +++ b/index.html @@ -3232,10 +3232,11 @@

- Use the `checked` attribute on any element that is allowed the `checked` attribute in HTML. Use the `indeterminate` IDL attribute to indicate the "mixed" state for `input type=checkbox` elements. + Use the `checked` attribute on any element that is allowed the `checked` attribute in HTML. + Use the `indeterminate` IDL attribute to indicate the "mixed" state for `input type=checkbox` elements.

- Authors MUST NOT use the `aria-checked` attribute on any element where the checkedness, or the + Authors MUST NOT use the `aria-checked` attribute on any element where the checkedness, or the indeterminate checked value of the element can be in opposition to the current value of the `aria-checked` attribute.

@@ -4734,8 +4735,14 @@

Change log

+

The full commit history for this specification.

+

Substantive changes since the last published Recommendation