Commit 048b86e0 authored by Nathan Peraldi's avatar Nathan Peraldi

improve visibility & accessibility for link redirection

parent 3d5e7d1b
......@@ -51,7 +51,7 @@ function firstAction() {
//si il a cliqué sur individu, redirigé vers helloasso
if (strUser === "Individu") {
linkRedirection("https://helloasso.com", "Redirection vers HelloAsso");
linkRedirection("https://www.helloasso.com/associations/adullact/adhesions/adhesion-individuelle-a-l-adullact", "Adhérer en tant qu'individu sur HelloAsso");
displayMask(["link"]);
}
......@@ -100,7 +100,7 @@ function isWordIn(word, list) {
function linkRedirection(link, title) {
//définit le lien de redirection et son titre
document.getElementById("linkRedirection").setAttribute("href", link);
document.getElementById("linkRedirection").setAttribute("title", title);
document.getElementById("linkRedirection").innerHTML = title;
}
function prepareDocument() {
......
......@@ -276,7 +276,7 @@ get_header();
</p>
<div id="link">
<a href="contact.php" id="linkRedirection" title="Page par défaut">Valider</a>
<a href="contact.php" id="linkRedirection">Texte</a>
</div>
<div id="formulaireEPCIMutualisant">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment