Component changelog
Radio changelog
Component-specific release notes collected from the full changelog. This page filters the published entries that mention Radio.
Release
v1.2.1
Patch Changes
- b8cddb8
RadioGroupandRadioCardsrender their items directly inside theradiogroupelement. They used to sit in an extra<div role="group">, sodisplay: gridorflexwithgapon the root didn't lay them out, and assistive tech met agroupnested inside theradiogroup. The Clarity and Baremetal themes now lay out the root itself. If your own CSS targeted the inner wrapper (.rad-ui-radio-group-root > [role="group"]), move those rules to the root (#2336).
Release
v1.2.0
Minor Changes
-
ed15256: Add
forceMounttoCheckbox.IndicatorandRadioGroup.Indicator(and the CheckboxGroup primitive content): the indicator stays rendered while unchecked, withdata-state="unchecked", so it can animate out or reserve space. The radio indicator now also carriesdata-state. -
07e6783: DropdownMenu, ContextMenu and Menubar gain
CheckboxItem,RadioGroup,RadioItem,ItemIndicator,GroupandGroupLabel. Checkbox items toggle (checked,defaultChecked,onCheckedChange), radio items pick one value in their group (value,defaultValue,onValueChange), and both keep the menu open unlesscloseOnClickis set. They exposemenuitemcheckboxandmenuitemradiowitharia-checked,data-stateanddata-checked, and a GroupLabel names its Group for screen readers.
Patch Changes
-
8356a3c: The default theme now works in forced-colours mode (Windows High Contrast). Keyboard focus shows a system-colour outline (the theme's box-shadow rings are dropped in that mode), and parts that show state only with a fill (the Switch thumb and checked track, the Radio dot, the Slider range and thumb, Progress, the Tabs indicator, pressed toggles, the highlighted menu or list item) keep it in system colours.
-
07e6783:
CheckboxGroupandRadioGroupalways render their group wrapper. With a single item wrapped in itsLabel, the group'sroleandidused to merge onto that<label>, so the checkbox or radio lost its accessible name.
Release
v1.1.0
Patch Changes
-
9ff88bf: fix(a11y): Command separators and RadioGroup arrow keys
- Command:
Command.Separatoris now hidden from assistive technology (aria-hidden, norole="separator"). A separator isn't an allowed child of thelistboxit renders inside, so axe reported a criticalaria-required-childrenviolation. - RadioGroup / RadioCards: all four arrow keys move between options, whatever the
orientation, as the WAI-ARIA radio pattern specifies. Radix and Base UI do the same.orientationstill setsaria-orientation.
- Command:
Release
v1.0.0
Patch Changes
-
55ee49a: Accessibility and Clarity cleanup across core controls: fix menu/navigation semantics and dismissal, form prop/state routing for Checkbox, Radio, TextArea, Fieldset, Text, and Slider, Avatar/Skeleton sizing, and contrast/alignment issues in the Clarity theme.
-
ae43686: Add an automated Clarity design-system audit gate and close the first tranche of findings it surfaced.
The gate (
npm run check:clarity, wired into CI) fails on raw colors, token fallbacks, hand-coded shadows,filter: drop-shadow, and literal duration, spacing, radius, typography, and sizing values. It carries a per-rule budget that acts as a ratchet: CI fails only when a rule goes above its recorded count, and that count drops as findings are fixed. Rules added later start at zero.All color, shadow, and motion findings are now zero. Popover's navy shadow and Toast's hand-picked status hexes were replaced with tokens, which fixes their dark-mode rendering; the Radio family shared one control shadow; AvatarGroup referenced an undefined
--rad-ui-text. Two dense type sizes that had no token (0.8125remand0.9375rem, previously literals in 13 components) are now generated scale steps behinddenseandcomfortablealiases.No rendered value changes: each swap was verified against compiled CSS.
-
669e5d8: Document Radio keyboard interaction and ARIA reference tables.
-
06d4f89: Expose stable Radio state and anatomy data attributes.
Release
v0.4.0
Minor Changes
- 2708fb327 components as officially released as preview, including Checkbox, Radio, Select, Combobox, DropdownMenu, and others.