fix: Retire tabIndex

pull/2573/head
Benjamin Arias 2023-03-16 09:53:56 +01:00 committed by Jérémy Rialland
parent 63f7361feb
commit 22f598ae7f
1 changed files with 7 additions and 1 deletions

View File

@ -43,7 +43,13 @@ export const RadioSkeleton = (props: RadioProps) => {
return (
<Label $hideRadio={hideRadio} htmlFor={id} className={props.className}>
<InputRadio {...inputProps} className="sr-only" ref={ref} id={id} />
<InputRadio
{...inputProps}
tabIndex={undefined}
className="sr-only"
ref={ref}
id={id}
/>
<VisibleRadio as={visibleRadioAs}>{children}</VisibleRadio>
</Label>
)