From ec8f17927910f462445c09ad9b0cb917fa3d6156 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 13 Dec 2022 08:13:16 +0100 Subject: [PATCH] =?UTF-8?q?Accessibilit=C3=A9=20=3D=20attribut=20alt=20dan?= =?UTF-8?q?s=20les=20ic=C3=B4nes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/class/template.class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/class/template.class.php b/core/class/template.class.php index 48fba524..77f275cc 100644 --- a/core/class/template.class.php +++ b/core/class/template.class.php @@ -467,12 +467,13 @@ class template 'href' => '', 'attr' => '', 'help' => '', - 'id' => '' + 'id' => '', + 'alt' => '', ], $attributes); // Traduction de l'aide $attributes['help'] = helper::translate($attributes['help']); // Contenu de l'icĂ´ne - $item = $attributes['href'] ? '' : ''; + $item = $attributes['href'] ? '' : ''; $item .= ''; $item .= ($attributes['href']) ? '' : ''; return $item;