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

[Checkbox, CheckboxGroup]: Accessibility fixes (disabled state, aria-describedby) #415

Merged
merged 9 commits into from
Aug 1, 2024

Conversation

RiinaKuu
Copy link
Contributor

@RiinaKuu RiinaKuu commented Jul 18, 2024

Jira-ticket: https://funidata.atlassian.net/browse/DS-339

  • CheckboxGroup need to pass aria-describedby value to Fieldset --> new Fieldset Input describedbyId
  • Fixed disabled single Checkbox not to have keyboard focus
  • Updated Playwright and unit test and docs

Main change for screen readers is that previously guidance (help text and error message) was read within each single checkbox and not the fieldset itself. Now guidance is only linked to the parent fieldset element and can be found in VoiceOver "More content" (ctrl + option + cmd + /) info window.

For visual users, tabbing through disabled checkboxes is not possible anymore. Disabled state is still communicated and focusable with screen readers.

…keyboard focus. Remove aria-describedby since the attribute has been moved to top level fieldset element.
@RiinaKuu RiinaKuu added the bug fix Something isn't working as expected label Jul 18, 2024
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-339-checkboxgroup-accessibility-fixes July 18, 2024 14:20 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-339-checkboxgroup-accessibility-fixes July 18, 2024 14:26 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-339-checkboxgroup-accessibility-fixes August 1, 2024 11:55 Destroyed
@github-actions github-actions bot temporarily deployed to Documentation for branch DS-339-checkboxgroup-accessibility-fixes August 1, 2024 17:29 Destroyed
@MayaMarjut MayaMarjut merged commit 20883c0 into main Aug 1, 2024
10 checks passed
@MayaMarjut MayaMarjut deleted the DS-339-checkboxgroup-accessibility-fixes branch August 1, 2024 17:55
@github-actions github-actions bot locked and limited conversation to collaborators Aug 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Something isn't working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants