heading-order.json 371 B

12345678910111213
  1. {
  2. "id": "heading-order",
  3. "selector": "h1, h2, h3, h4, h5, h6, [role=heading]",
  4. "matches": "heading-matches",
  5. "tags": ["cat.semantics", "best-practice"],
  6. "metadata": {
  7. "description": "Ensures the order of headings is semantically correct",
  8. "help": "Heading levels should only increase by one"
  9. },
  10. "all": [],
  11. "any": ["heading-order"],
  12. "none": []
  13. }