Skip to main content

Interface: FieldGroupProps

Defined in: components/FieldGroup/FieldGroup.tsx:43

Props for the FieldGroup component.

Properties

children

children: ReactNode

Defined in: components/FieldGroup/FieldGroup.tsx:56

The controls — each MUST carry its own aria-label (localized, ADR-001), because the group's label names the cluster and screen readers still need each control named individually ("Month", "Year").


description?

optional description?: ReactNode

Defined in: components/FieldGroup/FieldGroup.tsx:58

Hint text linked to the group via aria-describedby.


label

label: ReactNode

Defined in: components/FieldGroup/FieldGroup.tsx:50

Visible label naming the whole cluster — required: the one label over several controls is the reason this component exists. Rendered as a span wired via aria-labelledby, not a <label>: there is no single labelable control for a <label> to point at.