Skip to content

Commit

Permalink
Use translation, title for visu hidden email signup
Browse files Browse the repository at this point in the history
  • Loading branch information
hannalaakso committed Aug 8, 2023
1 parent f6dc001 commit 7ca7cff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/taxons/_common.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<%= render "govuk_publishing_components/components/signup_link", {
link_text: t("shared.get_emails"),
link_href: "/email-signup/?link=#{presented_taxon.base_path}",
link_aria_label: 'Sign up for email notifications about corporate information',
link_aria_label: t("shared.visually_hidden_get_emails", topic: presented_taxon.title),
data: {
"module": "gem-track-click",
"track-category": "emailAlertLinkClicked",
Expand Down

0 comments on commit 7ca7cff

Please sign in to comment.