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

@@ -80,6 +80,7 @@ const ProductView: FC<Props> = ({ product, className }) => {
{product.images.edges?.map((image, i) => (
<div key={image?.node.urlXL} className={s.imageContainer}>
<Image
alt={product.name}
className={s.img}
src={image?.node.urlXL!}
width={1050}
@@ -131,6 +132,7 @@ const ProductView: FC<Props> = ({ product, className }) => {
</section>
<div>
<Button
aria-label="Add to Cart"
type="button"
className={s.button}
onClick={addToCart}