axe-core
Version:
Accessibility engine for automated Web UI testing
14 lines (13 loc) • 371 B
JSON
{
"id": "heading-order",
"selector": "h1, h2, h3, h4, h5, h6, [role=heading]",
"matches": "heading-matches",
"tags": ["cat.semantics", "best-practice"],
"metadata": {
"description": "Ensures the order of headings is semantically correct",
"help": "Heading levels should only increase by one"
},
"all": [],
"any": ["heading-order"],
"none": []
}