Skip to content

fix(a11y): resolve accessibility warnings in Svelte 3.50.0 #1480

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 3 commits into from
Sep 5, 2022

Conversation

metonym
Copy link
Collaborator

@metonym metonym commented Sep 5, 2022

Fixes #1479

Svelte v3.50.0 checks for additional a11y violations.

  • For the Toggle component, the a11y-role-has-required-aria-props warning is a false positive since input role="switch" type="checkbox" has built in semantics, and does not require an additional aria-checked attribute.

  • ARIA attributes in HeaderSearch have been updated to reflect the upstream implementation of the search bar as seen on https://carbondesignsystem.com.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing aria props
1 participant