Actions
Bug #607
ouvertLe title de l'image-lien HR research reprend son code source
Statut:
New
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Début:
15/01/2026
Echéance:
% réalisé:
0%
Temps estimé:
Avis équipe:
Passage recette / prod:
à discuter ED:
Non
Environnement:
Description
Sur l'accueil, en bas on a une image avec le log "HR Excellence in Research".
Quand on examine son attribut title, on voit qu'il contient une balise <img>.
C'est le <a> qui récupère la balise image entière en title
Code source en front :
<div class="wp-block-column is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:50%"><div class="wp-block-image is-style-default">
<figure class="alignright size-full is-resized">
<a href="https://pro.inserm.fr/je-travaille-a-linserm/ressources-humaines/hr-excellence-in-research"
data-wpel-link="external" target="_self" rel="nofollow external"
title="<img loading="lazy" decoding="async" width="713" height="483" src="https://www.inserm.fr/wp-content/uploads/logo-hr-excellence.png" alt="HR Excellence in Research" class="wp-image-129437" style="width:178px;height:121px" srcset="https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence.png.webp 713w, https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence-300x203.png.webp 300w, https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence-150x102.png.webp 150w" sizes="auto, (max-width: 713px) 100vw, 713px"> (lien externe)">
<img loading="lazy" decoding="async" width="713" height="483"
src="https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence.png.webp"
alt="HR Excellence in Research" class="wp-image-129437"
style="width:178px;height:121px"
srcset="https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence.png.webp 713w, https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence-300x203.png.webp 300w, https://inserm.b-cdn.net/wp-content/uploads/logo-hr-excellence-150x102.png.webp 150w" sizes="auto, (max-width: 713px) 100vw, 713px">
</a>
</figure>
</div></div>
</div>
En back :
<!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:image {"lightbox":{"enabled":false},"id":129437,"width":"178px","height":"121px","sizeSlug":"full","linkDestination":"custom","align":"right","className":"is-style-default","style":{"color":[]},"blockVisibility":{"controlSets":[{"id":1,"enable":true,"controls":{"userRole":{"visibilityByRole":"public","ruleSets":[{"enable":true,"rules":[{"field":"users","operator":"any","value":[]}]}]},"screenSize":{"hideOnScreenSize":{"small":false,"medium":false}}}}]}} -->
<figure class="wp-block-image alignright size-full is-resized is-style-default"><a href="https://pro.inserm.fr/je-travaille-a-linserm/ressources-humaines/hr-excellence-in-research"><img src="https://www.inserm.fr/wp-content/uploads/logo-hr-excellence.png" alt="HR Excellence in Research" class="wp-image-129437" style="width:178px;height:121px"/></a></figure>
<!-- /wp:image --></div>
<!-- /wp:column --></div>
Fichiers
Actions