From bf87ba0d0fc7d4b846c8dbf1543d63d3222101ab Mon Sep 17 00:00:00 2001 From: mlloydbixal Date: Sun, 7 Jul 2024 13:58:33 -0400 Subject: [PATCH] VOTE-2270: remove unnecessary aria labels and roles, fix aria label string --- .../templates/block/block-content--email-signup.html.twig | 2 +- .../votegov/templates/component/usa-identifier.html.twig | 4 ---- .../votegov/templates/component/usagov-partner.html.twig | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/web/themes/custom/votegov/templates/block/block-content--email-signup.html.twig b/web/themes/custom/votegov/templates/block/block-content--email-signup.html.twig index 4b7dda367..2f98257ce 100644 --- a/web/themes/custom/votegov/templates/block/block-content--email-signup.html.twig +++ b/web/themes/custom/votegov/templates/block/block-content--email-signup.html.twig @@ -8,7 +8,7 @@ {# Caching the data in content object #} {% set savedCache = content | render %} - + {# Hold these title_* placeholders for potential integration #} {{ title_prefix }} {{ title_suffix }} diff --git a/web/themes/custom/votegov/templates/component/usa-identifier.html.twig b/web/themes/custom/votegov/templates/component/usa-identifier.html.twig index 3d83c9b5f..480a73af3 100644 --- a/web/themes/custom/votegov/templates/component/usa-identifier.html.twig +++ b/web/themes/custom/votegov/templates/component/usa-identifier.html.twig @@ -5,7 +5,6 @@ {# GSA logo #}
@@ -14,12 +13,10 @@ class="usa-identifier__logo-img" src="{{ theme_path }}/img/gsa-logo.svg" alt="{{ 'GSA logo' | t }}" - role="img" />

{{ 'Vote.gov' | t }}

@@ -33,7 +30,6 @@ {# USAgov identifier #}

diff --git a/web/themes/custom/votegov/templates/component/usagov-partner.html.twig b/web/themes/custom/votegov/templates/component/usagov-partner.html.twig index 0b7d243d8..fea1313b4 100644 --- a/web/themes/custom/votegov/templates/component/usagov-partner.html.twig +++ b/web/themes/custom/votegov/templates/component/usagov-partner.html.twig @@ -2,7 +2,7 @@ {# USA.gov Links #} {% set usagov_links_block = drupal_entity('block_content', '18') %} {% if usagov_links_block['#block_content'].langcode.value == language %} -