diff --git a/.changeset/hot-areas-teach.md b/.changeset/hot-areas-teach.md new file mode 100644 index 000000000..966ee61c3 --- /dev/null +++ b/.changeset/hot-areas-teach.md @@ -0,0 +1,5 @@ +--- +'@radix-ui/react-radio-group': patch +--- + +add aria-disabled on radio-group root diff --git a/packages/react/radio-group/src/radio-group.tsx b/packages/react/radio-group/src/radio-group.tsx index 07d646e05..e9caa3454 100644 --- a/packages/react/radio-group/src/radio-group.tsx +++ b/packages/react/radio-group/src/radio-group.tsx @@ -96,6 +96,7 @@ const RadioGroup = React.forwardRef( role="radiogroup" aria-required={required} aria-orientation={orientation} + aria-disabled={disabled} data-disabled={disabled ? '' : undefined} dir={direction} {...groupProps}