Skip to content

Incorrect a11y invalid href attribute warning #15654

Open
@Jojoshua

Description

@Jojoshua

Describe the bug

  <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.

Image

Reproduction

See screen shot

Expected behaviour

No warning is thrown

System Info

  • OS: [e.g. Windows]
  • IDE: [e.g. VSCode, Atom]

Which package is the issue about?

No response

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions