mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
a11y pass
This commit is contained in:
@@ -39,6 +39,7 @@ const Swatch: FC<Props & ButtonProps> = ({
|
||||
<Button
|
||||
className={rootClassName}
|
||||
style={color ? { backgroundColor: color } : {}}
|
||||
aria-label="Variant Swatch"
|
||||
{...props}
|
||||
>
|
||||
{variant === 'color' && active && (
|
||||
|
Reference in New Issue
Block a user