From 9a9cf59adc0cd94a65ed4c3de0190cbef06afe44 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Wed, 10 Jul 2024 13:18:32 +0300 Subject: [PATCH] Remove alt text of OpenID logo inside input label This keeps the input focusing when the logo is clicked but the alt text is not read by screen readers. --- app/views/application/_auth_providers.html.erb | 2 +- config/locales/en.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/application/_auth_providers.html.erb b/app/views/application/_auth_providers.html.erb index 4b487cc5d..1455a46c5 100644 --- a/app/views/application/_auth_providers.html.erb +++ b/app/views/application/_auth_providers.html.erb @@ -47,7 +47,7 @@ <%= form_tag(auth_path(:provider => "openid"), :id => "openid_login_form") do %>
<%= hidden_field_tag("referer", params[:referer], :autocomplete => "off") %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 2eaee052e..c5978b5d7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2583,7 +2583,6 @@ en: oauth2_authorizations: OAuth 2 authorizations muted_users: Muted Users auth_providers: - openid_logo_alt: "Log in with an OpenID" openid_url: "OpenID URL" openid_login_button: "Continue" openid: -- 2.39.5