Skip to content

Default rel="canonical" on <a> tags conflicts with MDN documentation #528

@souto-power

Description

@souto-power

I noticed that when selectedPageRel isn’t specified, the module sets the default rel attribute on tags to "canonical".
However, according to MDN, using rel="canonical" on elements is not allowed.

It might make sense to:

  • choose a different default value for rel, or
  • omit the rel attribute entirely when no value is provided.

I would like to hear your thoughts on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions