{
  "id": "SC-1.4.5",
  "rulePrefix": "SC-1.4.5",
  "variant": null,
  "ruleType": "synthetic-sc",
  "scanScope": "specimen",
  "synthetic": true,
  "status": "current",
  "title": "Styled heading rendered as image of text",
  "summary": "A heading is an image of text where plain text would suffice.",
  "whyItFails": "Users who need to resize or restyle text cannot read the heading because it is a raster image instead of real text.",
  "principles": [
    "perceivable"
  ],
  "guidelines": [
    "1.4"
  ],
  "successCriteria": [
    {
      "id": "1.4.5",
      "name": "Images of Text",
      "level": "AA",
      "slug": "images-of-text"
    }
  ],
  "versions": [
    "2.0",
    "2.1",
    "2.2"
  ],
  "automatable": "partial",
  "requires": [
    "css",
    "media"
  ],
  "isolated": true,
  "pairWith": [],
  "w3c": {
    "understanding": [
      "https://www.w3.org/WAI/WCAG22/Understanding/images-of-text"
    ],
    "quickref": [
      "https://www.w3.org/WAI/WCAG22/quickref/#images-of-text"
    ]
  },
  "specimen": {
    "html": "<p>Promotional banner rendered as an image of text:</p>\n<img src=\"/assets/image-of-text.png\" alt=\"Sale ends Sunday\" width=\"240\" height=\"40\">",
    "css": "",
    "js": "",
    "assets": [
      "assets/image-of-text.png"
    ]
  },
  "expectedFindings": [
    {
      "sc": "1.4.5",
      "outcome": "fail",
      "note": "Specimen demonstrates failure of 1.4.5."
    }
  ],
  "mustNotFlag": [],
  "manualCheck": "Confirm the image conveys text that could be presented with CSS styling instead.",
  "generated": {
    "url": "https://wcagfail.patternd.io/specimens/SC-1.4.5/",
    "lastmod": "2026-10-08"
  }
}
