Commit 048b86e0 authored by N. Peraldi's avatar N. Peraldi
Browse files

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("", "Redirection vers HelloAsso");
linkRedirection("", "Adhérer en tant qu'individu sur HelloAsso");
......@@ -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();
<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 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