Fix RadioGroup aria-checked
This commit is contained in:
parent
c2422d2da0
commit
b1f0cd2e9d
@ -23,7 +23,7 @@ export function RadioGroupItem(props: RadioGroupItemProps): JSX.Element {
|
||||
<button
|
||||
type="button"
|
||||
role="radio"
|
||||
aria-checked={isChecked()}
|
||||
aria-checked={isChecked() ? "true" : "false"}
|
||||
data-state={isChecked() ? "checked" : "unchecked"}
|
||||
disabled={isDisabled()}
|
||||
tabIndex={isChecked() ? 0 : -1}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user