Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Feature: Checkbox #5

Open
6 of 10 tasks
k11q opened this issue Jan 5, 2023 · 0 comments
Open
6 of 10 tasks

Feature: Checkbox #5

k11q opened this issue Jan 5, 2023 · 0 comments
Labels
main-feature Main features

Comments

@k11q
Copy link
Owner

k11q commented Jan 5, 2023

Checkbox

Completed

  • When the checkbox has focus, pressing the Space key changes the state of the checkbox.
  • The checkbox has role checkbox.
  • When checked, the checkbox element has state aria-checked set to true.
  • When not checked, it has state aria-checked set to false.
  • If the switch element is an HTML input[type="checkbox"], it uses the HTML checked attribute instead of the aria-checked property.
  • Accessible without javascript

Todo

  • The checkbox has an accessible label provided by one of the following:

  • Visible text content contained within the element with role checkbox.

  • A visible label referenced by the value of aria-labelledby set on the element with role checkbox.

  • aria-label set on the element with role checkbox.

  • When partially checked, it has state aria-checked set to mixed.

  • If a set of checkboxes is presented as a logical group with a visible label, the checkboxes are included in an element with role group that has the property aria-labelledby set to the ID of the element containing the label.

  • If the presentation includes additional descriptive static text relevant to a checkbox or checkbox group, the checkbox or checkbox group has the property aria-describedby set to the ID of the element containing the description.

@k11q k11q added the main-feature Main features label Jan 5, 2023
@k11q k11q moved this to Todo in Roadmap 1.0 Jan 5, 2023
@k11q k11q added this to Roadmap 1.0 Jan 5, 2023
@k11q k11q moved this from Todo to RC in Roadmap 1.0 Jan 5, 2023
@k11q k11q moved this from RC to Todo in Roadmap 1.0 Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
main-feature Main features
Projects
Archived in project
Development

No branches or pull requests

1 participant