Skip to content
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

Add aria-checked property to KCheckbox #572

Merged

Conversation

nucleogenesis
Copy link
Member

@nucleogenesis nucleogenesis commented Mar 7, 2024

As I was working in Kolibri I went to double check a11y stuff on the checkboxes and discovered that we should have this property applied because it can be used to indicate the same three states our KCheckbox does. What we call "indeterminate" they call "mixed", so we pass that value to the parameter easily because we have the props with all of the information we need.

  • Update changelog

@nucleogenesis nucleogenesis requested a review from MisRob March 7, 2024 22:55
@nucleogenesis nucleogenesis changed the base branch from develop to release-v4 March 7, 2024 22:56
@nucleogenesis nucleogenesis force-pushed the a11y--kcheckbox-aria-checked branch from b7738cf to f9974c2 Compare March 7, 2024 23:00
https://w3c.github.io/aria/#aria-checked can be useful information, particularly with the 'mixed' property indicating the "indeterminate" status

this implements the recommendation with use of the existing props
@nucleogenesis nucleogenesis force-pushed the a11y--kcheckbox-aria-checked branch from a6578f8 to 9dfa73b Compare March 8, 2024 01:17
@MisRob MisRob self-assigned this Mar 12, 2024
Copy link
Member

@MisRob MisRob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MisRob
Copy link
Member

MisRob commented Apr 16, 2024

I'll take care of the changelog conflict and merge it in a moment @nucleogenesis so that we can have this available in the release that I will create later today :)

@MisRob MisRob merged commit d6b8611 into learningequality:release-v4 Apr 16, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants