Skip to content

Correction: update aria-checked allowances #372

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Apr 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
update aria-checked allowances
closes  #361
  • Loading branch information
scottaohara authored Nov 10, 2021
commit ac7ecda5f94e07d201fb149c6ec0c4cd5062cc6c
26 changes: 14 additions & 12 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.
class="proposed addition">
Authors MUST NOT use the `aria-checked` attribute on `input type=checkbox` elements.

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

Role:
`menuitemradio`

Authors SHOULD NOT use the
class="proposed addition">
Authors MUST NOT use the
`aria-checked` attribute on `input type=radio` elements.

Expand Down Expand Up @@ -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.

Expand Down