diff --git a/sparkle/src/components/Button.tsx b/sparkle/src/components/Button.tsx index ff32c8b91557..9fc528c34d21 100644 --- a/sparkle/src/components/Button.tsx +++ b/sparkle/src/components/Button.tsx @@ -129,6 +129,7 @@ const Button = React.forwardRef( isSelect = false, isPulsing = false, size, + "aria-label": ariaLabel, ...props }, ref @@ -163,6 +164,7 @@ const Button = React.forwardRef( variant={variant} disabled={isLoading || props.disabled} className={isPulsing ? "s-animate-pulse" : ""} + aria-label={ariaLabel || tooltip || label} style={ { "--pulse-color": "#93C5FD",