mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
a11y pass
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user