We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<a href="#">Link</a>
Svelte says '#' is not a valid href attribute but VSCode says otherwise and thus the tooltip contradicts each other with a reference.
See screen shot
No warning is thrown
No response
The text was updated successfully, but these errors were encountered:
I think these two aren't conflicting, but the documentation/warning message regarding why it is discouraged probably could be improved. In most cases, href="#" isn't really being used as an anchor to the top of the document like vscode/mdn mentioned. But rather an "abuse" of the a tag to be a button. https://developer.mozilla.org/en-US/docs/Learn_web_development/Core/Accessibility/HTML#onclick_events
href="#"
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Svelte says '#' is not a valid href attribute but VSCode says otherwise and thus the tooltip contradicts each other with a reference.
Reproduction
See screen shot
Expected behaviour
No warning is thrown
System Info
Which package is the issue about?
No response
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: