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 Svelte 3.57 a11y #215

Merged
merged 3 commits into from
Mar 17, 2023
Merged

Fix Svelte 3.57 a11y #215

merged 3 commits into from
Mar 17, 2023

Conversation

janosh
Copy link
Owner

@janosh janosh commented Mar 17, 2023

Updating to Svelte v3.57 surfaced a lot of a11y issues. Apparently, most uses of aria attributes in this component were incorrect. Don't have the expertise or time to 2nd guess this so I'll just assume whoever added these checks to the Svelte compiler knows what they're doing. Hence dropping all the flagged aria attributes.

Screenshot 2023-03-17 at 10 07 31

@janosh janosh added the a11y Accessibility label Mar 17, 2023
@janosh janosh merged commit eb6b9a6 into main Mar 17, 2023
@janosh janosh deleted the fix-svelte-3.57-a11y branch March 17, 2023 17:22
janosh added a commit that referenced this pull request May 27, 2023
This reverts commit eb6b9a6 since Svelte v4 seems to have changed it's mind about a11y warnings fixed by #215
janosh added a commit that referenced this pull request May 27, 2023
* Revert "Fix Svelte 3.57 a11y (#215)"

This reverts commit eb6b9a6 since Svelte v4 seems to have changed it's mind about a11y warnings fixed by #215

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

Successfully merging this pull request may close these issues.

None yet

1 participant