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

fix(core/blind): improve keyboard accessibility #461

Merged
merged 11 commits into from
Mar 31, 2023
Merged

Conversation

jg0815
Copy link
Contributor

@jg0815 jg0815 commented Mar 22, 2023

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)
  • Build (yarn build) was run locally and any changes were pushed
  • Unit tests (yarn test) were run locally and passed
  • Visual Regression Tests (yarn visual-regression) were run locally and passed
  • Linting (npm lint) was run locally and passed

Pull request type

Please check the type of change your PR introduces:

  • Bug fix
  • Feature
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the new behavior?

Prior to this change, blind components were not keyboard operable, which was an accessibility issue. This has now been fixed, while also providing the required visibility of the associated focus frame. To make the individual elements of blind component instances referenceable within the required WAI-ARIA attribution, they have been assigned unique IDs, which has been realized via an additional module-scoped sequential number (namely 'sequentialInstanceId').

Does this introduce a breaking change?

  • Yes
  • No

Testing

Other information

@danielleroux danielleroux added this to the 1.5.0 milestone Mar 23, 2023
@danielleroux danielleroux added the pull request affects patch version The pull request affects only patch version label Mar 23, 2023
@danielleroux danielleroux changed the title feat(core/blind): implement keyboard accessibility for blind component fix(core/blind): improve keyboard accessibility Mar 23, 2023
@danielleroux danielleroux enabled auto-merge (squash) March 31, 2023 08:12
packages/core/src/components/blind/blind.tsx Outdated Show resolved Hide resolved
packages/core/src/components/blind/blind.tsx Outdated Show resolved Hide resolved
@danielleroux danielleroux merged commit db091cc into main Mar 31, 2023
@danielleroux danielleroux deleted the my-new-branch branch March 31, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pull request affects patch version The pull request affects only patch version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants