You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[vite-plugin-svelte] /node_modules/.pnpm/[email protected]/node_modules/konsta/svelte/components/icons/DeleteIcon.svelte:21:2 A11y: <svg> with click handler must have an ARIA role ... etc.
Clear and concise description of the problem
svelte vite plugin returns such warnings:
[vite-plugin-svelte] /node_modules/.pnpm/[email protected]/node_modules/konsta/svelte/components/icons/DeleteIcon.svelte:21:2 A11y: <svg> with click handler must have an ARIA role
... etc.Suggested solution
According to MDN: https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/button_role
It should be easy to add A11y support, by adding a new attribute
role="button"
to the element.<div role="button">Title of my button</div>
Alternative
No response
Additional context
Another issue about A11y: #92
Validations
Would you like to open a PR for this feature?
The text was updated successfully, but these errors were encountered: