Skip to content

A11y: noninteractive element cannot have positive tabIndex value #115

Closed
@lapoguidi

Description

@lapoguidi

Hello,
thanks for your component.
I'm trying to use it in a my hobbist Sveltekit project and I receive the notification written in subject every time a page contains your component.
I know that's just a warning, but I simply report it to you.

This is the complete warning shown:

[vite-plugin-svelte] ./node_modules/.pnpm/svelte-file-dropzone@1.0.0/node_modules/svelte-file-dropzone/src/components/Dropzone.svelte:310:0
A11y: noninteractive element cannot have positive tabIndex value

I tried changing index="0" with index="-1" at the row indicated and it seems to remove the warning and for the tests I done it doesn't impact on the functionalities, anyway I'm not an experienced programmer, and for sure I didn't tested all the methods of your component.

Thanks for your attention.
Have a nice day.

Sincerely,
Lapo

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions