Skip to content

The design language that makes your AI harness better at design.

JavaScript
1.2 KB
Raw Blame
{
  "stdout": "[\n  {\n    \"antipattern\": \"skipped-heading\",\n    \"name\": \"Skipped heading level\",\n    \"description\": \"Heading levels should not skip (e.g. h1 then h3 with no h2). Screen readers use heading hierarchy for navigation. Skipping levels breaks the document outline.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/skipped-heading-footer.html\",\n    \"line\": 0,\n    \"snippet\": \"<h2> \\\"Should flag\\\" followed by <h4> \\\"Jet fuel grades\\\" (missing h3)\"\n  },\n  {\n    \"antipattern\": \"skipped-heading\",\n    \"name\": \"Skipped heading level\",\n    \"description\": \"Heading levels should not skip (e.g. h1 then h3 with no h2). Screen readers use heading hierarchy for navigation. Skipping levels breaks the document outline.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/skipped-heading-footer.html\",\n    \"line\": 0,\n    \"snippet\": \"<h4> \\\"Company\\\" followed by <h6> \\\"Legal small print\\\" (missing h5)\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}