Skip to content

Commit

Permalink
add aria label on buttons for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchel123 committed Feb 4, 2025
1 parent af68537 commit b6b5a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/components/ui/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const Button = forwardRef<HTMLButtonElement, Props>(({ label, variant = "button"
ref={ref}
className={getClassName(variant, disabled, open, className)}
disabled={disabled}
aria-label={title}
type={type}
{...props}
>
Expand Down

0 comments on commit b6b5a6b

Please sign in to comment.