landmark-main-is-top-level.json
340 Bytes
{
"id": "landmark-main-is-top-level",
"selector": "main:not([role]), [role=main]",
"tags": ["cat.semantics", "best-practice"],
"metadata": {
"description": "Ensures the main landmark is at top level",
"help": "Main landmark must not be contained in another landmark"
},
"all": [],
"any": ["landmark-is-top-level"],
"none": []
}