Skip to content

The document of lang differs from the implementation. #1087

@mehm8128

Description

@mehm8128

lang rule checks that a lang attribute on the <html> is a valid IETF's BCP 47 language tag and doesn't check whether <html> has lang attribute or not, but the document says <html> fails for this rule.

html-has-lang document says:

This rule is largely superseded by the lang rule

so should we fix the implementation of lang rule to check html-has-lang rule in addition to lang validation? or should we remove the example of <html> from lang rule document?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions