Skip to content

Conversation

@arackaf
Copy link
Collaborator

@arackaf arackaf commented Mar 11, 2023

Hi! Love the library.

It looks like the tabIndex="0" on the div in your DropZone component causes an a11y warning when used in SvelteKit (I'm importing the Dropzone component directly, uncompiled).

This PR fixes by adding role="button" which fits since this kind of is like a button, since it can be clicked to open the file chooser.

@arackaf arackaf mentioned this pull request Mar 11, 2023
@mrexodia
Copy link

Would be nice if this could be merged, but it looks like some netlify config is outdated blocking this...

@arackaf arackaf merged commit fa13a5b into thecodejack:master Jan 18, 2024
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.

2 participants