Skip to content

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

JavaScript
6.0 KB
Raw Blame
{
  "stdout": "[\n  {\n    \"antipattern\": \"low-contrast\",\n    \"name\": \"Low contrast text\",\n    \"description\": \"Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"1.1:1 (need 4.5:1) — text #f2f2f2 on #ffffff\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"raster background at opacity 0.04 \\\"Grain\\\"\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"<img> at opacity 0.05 \\\"Ghost img\\\"\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"<img> at opacity 0.04 \\\"Buried texture\\\"\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"<img> at opacity 0 \\\"Pin\\\"\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"raster background at opacity 0\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"<img> at opacity 0 \\\"Inbox view\\\"\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"raster under a near-opaque gradient wash: linear-gradient(rgba(240,237,226,0.96), rgba(240,237,226,0.96)), url(assets/manual-paper.p\"\n  },\n  {\n    \"antipattern\": \"buried-raster\",\n    \"name\": \"Raster buried under a wash or opacity\",\n    \"description\": \"A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.\",\n    \"severity\": \"warning\",\n    \"category\": \"quality\",\n    \"file\": \"<REPO>/tests/fixtures/antipatterns/buried-raster.html\",\n    \"line\": 0,\n    \"snippet\": \"raster under a near-opaque gradient wash: linear-gradient(0deg, rgba(255,255,255,.95), rgba(255,255,255,.95)), url(\\\"assets/bone-pape\"\n  }\n]\n",
  "stderr": "",
  "exit": 2,
  "signal": null,
  "files": {}
}