{
  "id": "F96",
  "rulePrefix": "F96",
  "variant": null,
  "ruleType": "w3c-failure",
  "scanScope": "specimen",
  "synthetic": false,
  "status": "current",
  "title": "Failure due to the accessible name not containing the visible label text",
  "summary": "the accessible name not containing the visible label text",
  "whyItFails": "This page reproduces the F96 failure pattern so auditors can verify detection against 2.5.3, 1.3.1, 4.1.2.",
  "principles": [
    "operable",
    "perceivable",
    "robust"
  ],
  "guidelines": [
    "2.5",
    "1.3",
    "4.1"
  ],
  "successCriteria": [
    {
      "id": "2.5.3",
      "name": "Label in Name",
      "level": "A",
      "slug": "label-in-name"
    },
    {
      "id": "1.3.1",
      "name": "Info and Relationships",
      "level": "A",
      "slug": "info-and-relationships"
    },
    {
      "id": "4.1.2",
      "name": "Name, Role, Value",
      "level": "A",
      "slug": "name-role-value"
    }
  ],
  "versions": [
    "2.0",
    "2.1",
    "2.2"
  ],
  "automatable": "partial",
  "requires": [
    "html",
    "input"
  ],
  "isolated": true,
  "pairWith": [],
  "w3c": {
    "understanding": [
      "https://www.w3.org/WAI/WCAG22/Understanding/label-in-name",
      "https://www.w3.org/WAI/WCAG22/Understanding/info-and-relationships",
      "https://www.w3.org/WAI/WCAG22/Understanding/name-role-value"
    ],
    "quickref": [
      "https://www.w3.org/WAI/WCAG22/quickref/#label-in-name",
      "https://www.w3.org/WAI/WCAG22/quickref/#info-and-relationships",
      "https://www.w3.org/WAI/WCAG22/quickref/#name-role-value"
    ],
    "technique": "https://www.w3.org/WAI/WCAG22/Techniques/failures/F96"
  },
  "specimen": {
    "html": "<button type=\"button\" aria-label=\"Close dialog\">Dismiss</button>",
    "css": "",
    "js": "",
    "assets": []
  },
  "expectedFindings": [
    {
      "sc": "2.5.3",
      "outcome": "fail",
      "note": "Specimen demonstrates failure of 2.5.3."
    },
    {
      "sc": "1.3.1",
      "outcome": "fail",
      "note": "Specimen demonstrates failure of 1.3.1."
    },
    {
      "sc": "4.1.2",
      "outcome": "fail",
      "note": "Specimen demonstrates failure of 4.1.2."
    }
  ],
  "mustNotFlag": [],
  "manualCheck": "Confirm the specimen demonstrates the documented F96 failure in isolation.",
  "generated": {
    "url": "https://wcagfail.patternd.io/specimens/F96/",
    "lastmod": "2026-10-08"
  }
}
