axe-core
Version:
Accessibility engine for automated Web UI testing
18 lines (17 loc) • 370 B
JSON
{
"id": "landmark-main-is-top-level",
"selector": "main:not([role]), [role=main]",
"tags": [
"cat.semantics",
"best-practice"
],
"metadata": {
"description": "The main landmark should not be contained in another landmark",
"help": "Main landmark is not at top level"
},
"all": [],
"any": [
"landmark-is-top-level"
],
"none": []
}