Skip to content

Commit

Permalink
fix: replace read-only with disabled aria in Radio
Browse files Browse the repository at this point in the history
  • Loading branch information
benlister-okta committed Jul 31, 2024
1 parent 34e37b1 commit 986aed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/odyssey-react-mui/src/Radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const Radio = ({
<MuiRadio
inputProps={{
"data-se": testId,
"aria-readonly": isReadOnly,
"aria-disabled": isReadOnly,
readOnly: isReadOnly,
tabIndex: isReadOnly ? 0 : undefined,
}}
Expand Down

0 comments on commit 986aed9

Please sign in to comment.