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

@@ -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}