vkurko / calendar

Full-sized drag & drop JavaScript event calendar with resource & timeline views
https://vkurko.github.io/calendar/
MIT License
969 stars 82 forks source link

A11y warning after updating to svelte 4.x #160

Closed cmjoseph07 closed 11 months ago

cmjoseph07 commented 11 months ago

Svelte 4.x now have various A11y warnings that get displayed in dev mode. Is there a way you could look into fixing these A11y issues so the warnings will go away. Examples below:

https://svelte.dev/docs/accessibility-warnings

1:19:43 PM [vite-plugin-svelte] /node_modules/@event-calendar/time-grid/src/Event.svelte:100:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event. 1:19:43 PM [vite-plugin-svelte] /node_modules/@event-calendar/time-grid/src/Event.svelte:100:0 A11y: <div> with click, mouseenter, mouseleave handlers must have an ARIA role 1:19:43 PM [vite-plugin-svelte] /node_modules/@event-calendar/core/src/Buttons.svelte:29:4 Empty block 1:19:43 PM [vite-plugin-svelte] /node_modules/@event-calendar/time-grid/src/all-day/Event.svelte:95:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event. 1:19:43 PM [vite-plugin-svelte] /node_modules/@event-calendar/time-grid/src/all-day/Event.svelte:95:0 A11y: <div> with click, mouseenter, mouseleave handlers must have an ARIA role

vkurko commented 11 months ago

@cmjoseph07 Thanks, I'll look into this issue.

vkurko commented 11 months ago

@cmjoseph07

These warnings should be fixed/suppressed in version 1.5.1. Please check.

cmjoseph07 commented 11 months ago

@vkurko

✅ These warnings have been fixed/suppressed in 1.5.1, closing issue.