Skip to content

Vite Plugin Svelte: Many Warnings: Self Closing HTML tags, non-interactive elements should not be assigned mouse or keyboard event listeners). #387

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

Closed
arkmech opened this issue Jun 9, 2024 · 1 comment

Comments

@arkmech
Copy link

arkmech commented Jun 9, 2024

sveltejs/svelte#1105

Using vite-plugin-svelte and on vite dev getting many warnings from this package.

  1. Self-closing HTML tags for non-void elements are ambiguous — use <div ...></div> rather than <div ... />
  2. Non-interactive element <menu> should not be assigned mouse or keyboard event listeners.

Way too many warnings to post all of them, but they fit into these two categories. #1 is easy to fix.

Can all these issues be resolved?

"svelte-ux": "^0.62.8"
@techniq
Copy link
Owner

techniq commented Jun 10, 2024

Hey @arkmech 👋, thanks for checking out Svelte UX. Yeah, there are currently a good number of warnings in the library that need addressed. I'm hoping to dedicate some time to this, but I just lack a lot of extra bandwidth at the moment. This is currently being tracked by #186.

@techniq techniq closed this as completed Jun 10, 2024
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