a11y pass

This commit is contained in:
Belen Curcio
2020-10-25 10:57:59 -03:00
parent 6b69d31bad
commit f2997c2519
5 changed files with 13 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ const Swatch: FC<Props & ButtonProps> = ({
<Button
className={rootClassName}
style={color ? { backgroundColor: color } : {}}
aria-label="Variant Swatch"
{...props}
>
{variant === 'color' && active && (