From cf722ebc48af591dba5664150eb066fba0f38cb4 Mon Sep 17 00:00:00 2001 From: Steve Taylor Date: Thu, 20 Jun 2024 11:32:35 -0700 Subject: [PATCH] Remove aria-hidden from visible submit button --- .../blacklight_range_limit/range_form_component.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/blacklight_range_limit/range_form_component.html.erb b/app/components/blacklight_range_limit/range_form_component.html.erb index 2ad2ae2f..4bce33cd 100644 --- a/app/components/blacklight_range_limit/range_form_component.html.erb +++ b/app/components/blacklight_range_limit/range_form_component.html.erb @@ -4,9 +4,9 @@
<%= render_range_input(:begin, begin_label) %> <%= render_range_input(:end, end_label) %> -
- <%= submit_tag t('blacklight.range_limit.submit_limit'), class: @classes[:submit], name: nil %> +
+ <%= submit_tag t('blacklight.range_limit.submit_limit'), class: @classes[:submit], "aria-hidden": "true", name: nil %>
- <%= submit_tag t('blacklight.range_limit.submit_limit'), class: @classes[:submit] + " sr-only", "aria-hidden": "true", name: nil %> + <%= submit_tag t('blacklight.range_limit.submit_limit'), class: @classes[:submit], name: nil %>
<% end %>