From e2dc54fcf50de049931c999cdf30a51b8e54f236 Mon Sep 17 00:00:00 2001 From: barbara oliveira Date: Fri, 13 Dec 2024 17:16:39 +0100 Subject: [PATCH] fix test by re-adding aria-label --- decidim-core/app/views/layouts/decidim/_logo.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decidim-core/app/views/layouts/decidim/_logo.html.erb b/decidim-core/app/views/layouts/decidim/_logo.html.erb index 65f44f3e0af65..8968b210c5a66 100644 --- a/decidim-core/app/views/layouts/decidim/_logo.html.erb +++ b/decidim-core/app/views/layouts/decidim/_logo.html.erb @@ -1,5 +1,5 @@ <% if organization %> - <%= link_to decidim.root_url(host: organization.host) do %> + <%= link_to decidim.root_url(host: organization.host), "aria-label": t("front_page_link", scope: "decidim.accessibility") do %> <% if organization.logo.attached? %> <%= image_tag organization.attached_uploader(:logo).variant_url(:medium), alt: t("logo", scope: "decidim.accessibility", organization: current_organization_name) %> <% else %>