mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
a11y pass
This commit is contained in:
@@ -36,6 +36,7 @@ const ProductCard: FC<Props> = ({
|
||||
</div>
|
||||
<Image
|
||||
src={src}
|
||||
alt={p.name}
|
||||
width={imgWidth}
|
||||
height={imgHeight}
|
||||
priority={priority}
|
||||
@@ -64,6 +65,7 @@ const ProductCard: FC<Props> = ({
|
||||
</div>
|
||||
<div className={cn(s.imageContainer)}>
|
||||
<Image
|
||||
alt={p.name}
|
||||
className={cn('w-full object-cover', s['product-image'])}
|
||||
src={src}
|
||||
width={imgWidth}
|
||||
|
Reference in New Issue
Block a user