landmark-banner-is-top-level.json 414 B

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