landmark-main-is-top-level.json 354 B

123456789101112
  1. {
  2. "id": "landmark-main-is-top-level",
  3. "selector": "main:not([role]), [role=main]",
  4. "tags": ["cat.semantics", "best-practice"],
  5. "metadata": {
  6. "description": "Ensures the main landmark is at top level",
  7. "help": "Main landmark should not be contained in another landmark"
  8. },
  9. "all": [],
  10. "any": ["landmark-is-top-level"],
  11. "none": []
  12. }