Closed
Description
Describe the problem
Hey, I just validated my SvelteKit website with https://validator.w3.org/nu/ and it heavily complained about sveltekit:prefetch
not being valid HTML.
Is this a problem? Maybe if some service wanted to rank the quality of some website, they would use an HTML validator and adjust the ranking accordingly?
Describe the proposed solution
To avoid that, maybe the Svelte compiler could automatically turn such things into a valid HTML attribute like data-sveltekit="prefetch"
from where the router can pick it up?
In my imagination this should be fairly easy to implement and would result in valid HTML.
Alternatives considered
No response
Importance
nice to have
Additional Information
Thank you very much for building Svelte!