We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d9295 commit a7d88a5Copy full SHA for a7d88a5
packages/clay-form/src/Toggle.tsx
@@ -44,6 +44,7 @@ const ClayToggle = React.forwardRef<HTMLLabelElement, IToggleProps>(
44
ref
45
) => {
46
if (type === 'radio') {
47
+ role = 'radio';
48
toggled = checked;
49
}
50
0 commit comments