Skip to content

Commit ef4e1f5

Browse files
committed
[#44] ♻️ Change span to button for better accessbility in clickable elements
1 parent e534dbd commit ef4e1f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/common/input/RadioInput.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const RadioInput = ({
2323
return (
2424
<label className={labelClass}>
2525
<input type='radio' checked={checked} disabled={disabled} {...props} />
26-
<span
26+
<button
2727
role='radio'
2828
tabIndex={0}
2929
aria-checked={checked}

0 commit comments

Comments
 (0)