# CaseStudySummary

> Decision-first case study summary: outcome, role, constraints, key decisions and evidence with source labels.

- Status: alpha
- Group: content
- Page: https://www.digitaltableteur.com/design-system/components/case-study-summary
- Contract: https://www.digitaltableteur.com/contracts/v1/CaseStudySummary.contract.json

## When to use

Opens a work case study before the process narrative, answering what changed, who did what, what made it hard, which decisions shaped it and where each claim comes from.

## When not to use

- Do not present a claim without a source label.
- Do not invent metrics that are not on record.

## Look-alikes

The contract names no look-alike with a deciding condition.

## Props

| Prop | Type | Default | Description | Required |
| --- | --- | --- | --- | --- |
| `outcome` | `string` | none | What changed because of the work, in one or two sentences. | Yes |
| `role` | `string` | none | Role and scope of the engagement. | Yes |
| `constraints` | `string[]` | none | What made the problem hard. | Yes |
| `decisions` | `CaseStudyDecision[]` | none | The decisions that shaped the result. | Yes |
| `evidence` | `CaseStudyEvidence[]` | none | Claims with an explicit source label; nothing is presented unsourced. | Yes |
| `title` | `string` | none | Section heading. Defaults to the translated "At a glance". | No |
| `maxWidth` | `"sm" \| "md" \| "lg" \| "full" \| "xl"` | `lg` | Maximum content width. | No |
| `className` | `string` | none | Additional class name applied to the section root. | No |

## Variants

- Allowed `maxWidth` values: `sm`, `md`, `lg`, `full`, `xl` (default `lg`).

## Invalid combinations

The contract records no invalid combinations.

## Keyboard

The contract records no keyboard interaction.

## Rules

Every item under When not to use is a MUST NOT. MUST and SHOULD follow RFC 2119.

| Level | Rule | How it is checked |
| --- | --- | --- |
| MUST | ARIA: Section is labelled by its h2 via aria-labelledby. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | ARIA: Key decisions render as an ordered list. | Not yet verified: no evidence record. WCAG 4.1.2. |
| MUST | Required stories produce no axe violations at the configured severity. | Automated by `npm run test:stories:matrix:ci`. WCAG 2.5.8. |
| MUST | The accessibility tree (role, name, state) matches the committed snapshot for every required story. | Automated by `npm run test:stories:matrix:ci`. WCAG 1.3.1, 4.1.2. |
| MUST | The component remains legible and operable under a real browser forced-colors: active pass. | Automated by `npm run test:stories:hc`. |
| MUST | A human completed an end-to-end accessibility review of this component. | Not yet verified: no evidence record. |

## Install and import

- In-repo only. CaseStudySummary is not exported from `@digitaltableteur/react`, so there is no public import path.
- Alpha components are internal and never exported.

## Links

- Machine-readable contract (Design System Contract 1.0): https://www.digitaltableteur.com/contracts/v1/CaseStudySummary.contract.json
- Markdown version of this page: https://www.digitaltableteur.com/design-system/components/case-study-summary.md
- Component index as JSON: https://www.digitaltableteur.com/design-system/components.json
- All components: https://www.digitaltableteur.com/design-system/components
- Source: The implementation lives in a private repository. This page, its Markdown twin and the contract are generated from it at build time and are the public source of truth.
