Skip to content

Commit

Permalink
Remove aria-hidden from visible submit button
Browse files Browse the repository at this point in the history
  • Loading branch information
taylor-steve committed Jun 20, 2024
1 parent 2f34f9f commit cf722eb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<div class="input-group input-group-sm mb-3 flex-nowrap range-limit-input-group">
<%= render_range_input(:begin, begin_label) %>
<%= render_range_input(:end, end_label) %>
<div class="input-group-append visually-hidden">
<%= submit_tag t('blacklight.range_limit.submit_limit'), class: @classes[:submit], name: nil %>
<div class="input-group-append visually-hidden sr-only">
<%= submit_tag t('blacklight.range_limit.submit_limit'), class: @classes[:submit], "aria-hidden": "true", name: nil %>
</div>
<%= 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 %>
</div>
<% end %>

0 comments on commit cf722eb

Please sign in to comment.