axe-core
Version:
Accessibility engine for automated Web UI testing
14 lines (13 loc) • 341 B
JSON
{
"id": "html-has-lang",
"selector": "html",
"matches": "is-initiator-matches",
"tags": ["cat.language", "wcag2a", "wcag311", "ACT"],
"metadata": {
"description": "Ensures every HTML document has a lang attribute",
"help": "<html> element must have a lang attribute"
},
"all": [],
"any": ["has-lang"],
"none": []
}