Browse Source

Ajout d'aria-label sur les icones-lien

pull/1/head
Miraty 2 years ago
parent
commit
31a5f26390
  1. 6
      index.php

6
index.php

@ -145,10 +145,10 @@ $paquetYnhService = array(
<div class="themeService"><?php if (!is_null($infoThemeService[$codeService])) { ?>· <?= $infoThemeService[$codeService] ?> ·<?php } ?></div>
<div class="metasService">
<?php if (!is_null($siteOfficielService[$codeService])) {
echo '<a class="icon-home metaService" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
echo '<a class="icon-home metaService" aria-label="Site officiel" title="Site officiel de ' . $nomService[$codeService] . '" href="https://' . $siteOfficielService[$codeService] . '"></a>';
} ?>
<a class="icon-git metaService" title="Code source de <?= $nomService[$codeService] ?>" href="https://<?= $gitService[$codeService] ?>"></a>
<a class="icon-ynh metaService" title="Paquet YunoHost de <?= $nomService[$codeService] ?>" href="https://<?= $paquetYnhService[$codeService] ?>"></a></div>
<a class="icon-git metaService" aria-label="Code source" title="Code source de <?= $nomService[$codeService] ?>" href="https://<?= $gitService[$codeService] ?>"></a>
<a class="icon-ynh metaService" aria-label="Paquet YunoHost" title="Paquet YunoHost de <?= $nomService[$codeService] ?>" href="https://<?= $paquetYnhService[$codeService] ?>"></a></div>
</div>
<?php } ?>