Visitar URL original
Only report navigation <link> elements outside of head · Issue #306 · squizlabs/HTML_CodeSniffer · GitHub
Skip to content

Only report navigation <link> elements outside of head #306

Open

Description

@Maxim-Mazurok

Related to w3c/wcag#2297

The procedure is to

Check that all link elements pertaining to navigation occur in the head section of the document.

But I can see that we're checking all link, regardless of their relation to navigation, including rel="stylesheet" which doesn't make any sense.

Please, consider excluding rel="stylesheet" or only including rels related to navigation, like Start, Next, Prev, Contents, Index, etc.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions