html-xml-lang-mismatch.json 458 Bytes
{
	"id": "html-xml-lang-mismatch",
	"selector": "html[lang][xml\\:lang]",
	"matches": "xml-lang-mismatch-matches",
	"tags": ["cat.language", "wcag2a", "wcag311", "ACT"],
	"metadata": {
		"description": "Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",
		"help": "HTML elements with lang and xml:lang must have the same base language"
	},
	"all": ["xml-lang-mismatch"],
	"any": [],
	"none": []
}