Skip to content

fix: #610 resolve ARIA warnings by defining a role on interactive divs #624

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 1 commit into from
Aug 24, 2023

Conversation

josdejong
Copy link
Contributor

This PR fixes #610.

It adds a role="none" to the three interactive divs, resolving the warnings given by Svelte 4 (tested it by importing svelte-select in a project with Svelte 4).

I've had a look through the list with available ARIA roles but I didn't find meaning rules matching the three cases in this PR, therefore I choose role="none".

@vercel
Copy link

vercel bot commented Aug 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-select ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 23, 2023 6:52am

@rob-balfre
Copy link
Owner

@josdejong thanks

@josdejong josdejong deleted the fix/aria_roles branch August 24, 2023 11:18
@Ennoriel Ennoriel mentioned this pull request Aug 26, 2023
13 tasks
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 role warnings with Svelte 4
2 participants