Drop explicit empty alt attributes from storefront-image call sites.
Decorative thumbnails rely on the partial default instead of repeating alt='' at each call site.
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
{{#if thumbnailUrl}}
|
{{#if thumbnailUrl}}
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
|
|||||||
@@ -86,7 +86,6 @@
|
|||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
class='sf-crypto-icon'
|
class='sf-crypto-icon'
|
||||||
src=iconUrl
|
src=iconUrl
|
||||||
alt=''
|
|
||||||
width='20'
|
width='20'
|
||||||
height='20'
|
height='20'
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
{{#if thumbnailUrl}}
|
{{#if thumbnailUrl}}
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
@@ -19,7 +18,6 @@
|
|||||||
{{#if thumbnailUrl}}
|
{{#if thumbnailUrl}}
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
|
|||||||
@@ -6,7 +6,6 @@
|
|||||||
{{#if thumbnailUrl}}
|
{{#if thumbnailUrl}}
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
@@ -19,7 +18,6 @@
|
|||||||
{{#if thumbnailUrl}}
|
{{#if thumbnailUrl}}
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
class='sf-product-card__image'
|
class='sf-product-card__image'
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
>
|
>
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=url
|
src=url
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
|
|||||||
@@ -8,7 +8,6 @@
|
|||||||
{{#if thumbnailUrl}}
|
{{#if thumbnailUrl}}
|
||||||
{{> storefront-image
|
{{> storefront-image
|
||||||
src=thumbnailUrl
|
src=thumbnailUrl
|
||||||
alt=''
|
|
||||||
width='1'
|
width='1'
|
||||||
height='1'
|
height='1'
|
||||||
loading='lazy'
|
loading='lazy'
|
||||||
|
|||||||
Reference in New Issue
Block a user