Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11y warning after updating to svelte 4.x #160

Closed
cmjoseph07 opened this issue Jul 19, 2023 · 3 comments
Closed

A11y warning after updating to svelte 4.x #160

cmjoseph07 opened this issue Jul 19, 2023 · 3 comments

Comments

@cmjoseph07
Copy link

cmjoseph07 commented Jul 19, 2023

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
Copy link
Owner

vkurko commented Jul 20, 2023

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

@vkurko
Copy link
Owner

vkurko commented Jul 26, 2023

@cmjoseph07

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

@cmjoseph07
Copy link
Author

@vkurko

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

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

No branches or pull requests

2 participants