Skip to main content
Dieser Inhalt ist derzeit nur auf Englisch verfügbar

Audit html-xml-lang-mismatch

Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page

Impact:

Moderate

WCAG-Konformität:

  • A
    WCAG 3.1.1

Issue type:

failure

HTML page lang and xml:lang attributes have matching values

This rule checks that both `lang` and `xml:lang` attributes on the root element of a non-embedded HTML page, have the same primary language subtag.

Content loading...

Autoren: Jey Nandakumar

Vorherige Autoren: Annika Nietzio

Finanzierung: WAI-Tools

siteboard - Scan it. Nail it. Scale it.