fix: aria-label manquants sur Switch
parent
54d49accd1
commit
a0353619b7
|
@ -170,6 +170,7 @@ function ActivitéMixte() {
|
|||
defaultSelected={defaultChecked}
|
||||
onChange={onMixteChecked}
|
||||
light
|
||||
aria-label="Activité mixte"
|
||||
>
|
||||
Activité mixte
|
||||
</Switch>
|
||||
|
|
|
@ -141,6 +141,7 @@ export const Switch = (props: SwitchProps) => {
|
|||
$size={size}
|
||||
checked={isSelected}
|
||||
disabled={isDisabled}
|
||||
aria-label={props['aria-label']}
|
||||
>
|
||||
<HiddenInput
|
||||
// eslint-disable-next-line react/jsx-props-no-spreading
|
||||
|
|
Loading…
Reference in New Issue