Rich-Harris / svelte-knobby

MIT License
201 stars 16 forks source link

Svelte A11y warning #30

Open braebo opened 1 year ago

braebo commented 1 year ago

Just putting this here for the record. Building my sveltekit project with svelte-knobby installed gives me the following error:

[vite-plugin-svelte] /node_modules/.pnpm/svelte-knobby@0.3.4_svelte@3.55.0/node_modules/svelte-knobby/Knobby.svelte:92:2 
A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.

Happy to make a PR for this if the project is revived at some point!