Accessibility
SegmentedControl from @prepared911/ui/segmented-control is a compact cluster that maps to radio-group semantics. The primitive wires roles and keyboard behavior; your job is to label the control, keep labels short, and ensure icon-only segments carry accessible names.
role="radiogroup"; items are role="radio" with aria-checked.aria-disabled and are skipped.aria-labelledby (pointing at a visible heading) or aria-label.title or a sibling aria-label supplies the name.role="radiogroup" with aria-orientation.role="radio" with aria-checked.aria-hidden="true" when a text label provides the name.Select or ToggleGroup with overflow.