{
  "$schema": "https://www.digitaltableteur.com/schemas/contract-spec/1.0/contract.schema.json",
  "specVersion": "1.0",
  "name": "Radio",
  "status": "beta",
  "description": "Single radio option; compose with RadioGroup for sets.",
  "package": {
    "name": "@digitaltableteur/react",
    "import": "import { Radio } from \"@digitaltableteur/react\";"
  },
  "props": {
    "label": {
      "type": "string",
      "optional": false,
      "description": "Option label"
    },
    "value": {
      "type": "string",
      "optional": false,
      "description": "Submitted value when selected"
    },
    "name": {
      "type": "string",
      "optional": false,
      "description": "Group name; must match siblings to form the exclusive set"
    },
    "checked": {
      "type": "boolean",
      "optional": true,
      "description": "Checked state (controlled); use inside RadioGroup for sets."
    },
    "defaultChecked": {
      "type": "boolean",
      "optional": true,
      "description": "Initial checked state (uncontrolled mode only)"
    },
    "disabled": {
      "type": "boolean",
      "optional": true,
      "description": "Disables interaction and dims the control."
    },
    "size": {
      "type": "union",
      "values": [
        "sm",
        "md",
        "lg",
        "S",
        "M",
        "L"
      ],
      "optional": true,
      "description": "Control hit area."
    },
    "onCheckedChange": {
      "type": "(checked: boolean) => void",
      "optional": true,
      "description": "Fired with the next checked value when selection changes"
    },
    "showLabel": {
      "type": "boolean",
      "optional": true,
      "description": "Render the visible label."
    }
  },
  "accessibility": {
    "criteria": [
      {
        "id": "axe-no-violations",
        "statement": "Required stories produce no axe violations at the configured severity.",
        "verification": "automated",
        "wcag": [
          "2.5.8"
        ],
        "check": "npm run test:stories:matrix:ci",
        "evidence": [
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:50.122Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:43.185Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:15.141Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.dark.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:44.197Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:30.906Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.light.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:37.571Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:50.377Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:43.415Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:15.359Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:50.600Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:43.630Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:15.588Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.dark.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:43.712Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:30.424Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.light.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:37.084Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:49.896Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:42.946Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:14.923Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.dark.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:43.958Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:30.668Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.light.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:37.335Z",
            "passed": true,
            "runner": "local"
          }
        ]
      },
      {
        "id": "accessibility-tree",
        "statement": "The accessibility tree (role, name, state) matches the committed snapshot for every required story.",
        "verification": "automated",
        "wcag": [
          "1.3.1",
          "4.1.2"
        ],
        "check": "npm run test:stories:matrix:ci",
        "evidence": [
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:50.122Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.322Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:43.185Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:15.141Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.dark.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:44.197Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.forced-colors.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:50.504Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:30.906Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.light.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:37.571Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:50.377Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.529Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:43.415Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:15.359Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:50.600Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.730Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:43.630Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:15.588Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.dark.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:43.712Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.forced-colors.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:50.061Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:30.424Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.light.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:37.084Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.dark.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:23:49.896Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.115Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:09:42.946Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.light.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:17:14.923Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.dark.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:43.958Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.forced-colors.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:50.284Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:30.668Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.light.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:37.335Z",
            "passed": true,
            "runner": "local"
          }
        ]
      },
      {
        "id": "forced-colors-real-browser",
        "statement": "The component remains legible and operable under a real browser forced-colors: active pass.",
        "verification": "automated",
        "check": "npm run test:stories:hc",
        "evidence": [
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-default.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.322Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-disabled-options.forced-colors.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:50.504Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-example.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.529Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-forced-colors.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.730Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-in-an-exclusive-set.forced-colors.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:50.061Z",
            "passed": true,
            "runner": "local"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-playground.forced-colors.json",
            "sourceCommit": "ffbeeeec52e120b19494e2ac7b4dbab8ff13ceb3",
            "capturedAt": "2026-11-07T09:29:03.115Z",
            "passed": true,
            "runner": "local-audit-fixes"
          },
          {
            "artifact": "../../../nextjs-app/shared/components/Radio/__a11y-evidence__/forms-radio-sizes.forced-colors.json",
            "sourceCommit": "5273c1132711e819f118e27d64289e47d4264953",
            "capturedAt": "2026-10-29T20:56:50.284Z",
            "passed": true,
            "runner": "local"
          }
        ]
      },
      {
        "id": "human-a11y-review",
        "statement": "A human completed an end-to-end accessibility review of this component.",
        "verification": "manual",
        "note": "2026-05-28 — Promoted from alpha: Example + ForcedColors stories present; Storybook axe gate enabled.",
        "reviewedAt": "2026-05-28"
      }
    ]
  },
  "source": [
    "../../../nextjs-app/shared/components/Radio/Radio.module.css",
    "../../../nextjs-app/shared/components/Radio/Radio.tsx"
  ]
}
