correct seo
This commit is contained in:
parent
39e2c7a1a0
commit
64e5159a55
@ -509,7 +509,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
|
||||
function openPanel(card, pushState = true) {
|
||||
fields.img.src = card.dataset.img;
|
||||
fields.img.alt = card.dataset.name;
|
||||
fields.img.alt = card.dataset.imgAlt || card.dataset.name;
|
||||
fields.index.textContent = card.dataset.index;
|
||||
fields.name.textContent = card.dataset.name;
|
||||
fields.type.textContent = card.dataset.type;
|
||||
|
||||
@ -89,7 +89,7 @@ const schemaBreadcrumb = {
|
||||
</div>
|
||||
<div class="panel-inner">
|
||||
<div class="panel-img-col">
|
||||
<img id="panel-img" src="" alt="">
|
||||
<img id="panel-img" src="" alt="Image produit REBOURS Studio">
|
||||
</div>
|
||||
<div class="panel-info-col">
|
||||
<p class="panel-index" id="panel-index"></p>
|
||||
@ -213,10 +213,11 @@ const schemaBreadcrumb = {
|
||||
data-img={p.imagePath}
|
||||
data-price={p.price ? String(p.price) : ''}
|
||||
data-stripe-key={p.stripeKey ?? ''}
|
||||
data-img-alt={p.imageAlt || `${p.productDisplayName} — mobilier d'art contemporain, REBOURS Studio Paris`}
|
||||
aria-label={`Ouvrir le détail de ${p.productDisplayName}`}>
|
||||
<div class="card-img-wrap">
|
||||
<img src={p.imagePath}
|
||||
alt={p.imageAlt || p.productDisplayName}
|
||||
alt={p.imageAlt || `${p.productDisplayName} — mobilier d'art contemporain, REBOURS Studio Paris`}
|
||||
width="600" height="600"
|
||||
loading={i === 0 ? "eager" : "lazy"}>
|
||||
</div>
|
||||
|
||||
@ -53,7 +53,7 @@ const schemaOrg = {
|
||||
</div>
|
||||
<div class="panel-inner">
|
||||
<div class="panel-img-col">
|
||||
<img id="panel-img" src="" alt="">
|
||||
<img id="panel-img" src="" alt="Image produit REBOURS Studio">
|
||||
</div>
|
||||
<div class="panel-info-col">
|
||||
<p class="panel-index" id="panel-index"></p>
|
||||
@ -179,10 +179,11 @@ const schemaOrg = {
|
||||
data-img={p.imagePath}
|
||||
data-price={p.price ? String(p.price) : ''}
|
||||
data-stripe-key={p.stripeKey ?? ''}
|
||||
data-img-alt={p.imageAlt || `${p.productDisplayName} — mobilier d'art contemporain, REBOURS Studio Paris`}
|
||||
aria-label={`Ouvrir le détail de ${p.productDisplayName}`}>
|
||||
<div class="card-img-wrap">
|
||||
<img src={p.imagePath}
|
||||
alt={p.imageAlt || p.productDisplayName}
|
||||
alt={p.imageAlt || `${p.productDisplayName} — mobilier d'art contemporain, REBOURS Studio Paris`}
|
||||
width="600" height="600"
|
||||
loading={i === 0 ? "eager" : "lazy"}>
|
||||
</div>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user