Skip to content

Commit

Permalink
Merge pull request #3903 from pulibrary/3865-numismatics-keyword-label
Browse files Browse the repository at this point in the history
Using aria-label instead of a hidden label
  • Loading branch information
christinach authored Dec 15, 2023
2 parents f228073 + 39850ee commit 82fc302
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/advanced/_numismatics_advanced_search_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
<div class="form-group advanced-search-facet row">
<%= select_tag('f1', options_for_select(advanced_key_value, guided_field(:f1, 'all_fields')), style: "display: none;", class: "search_field") %>
<label for="q1" class="col-sm-4 control-label advanced-facet-label">Keyword</label>
<label for='q1' class='sr-only'>Keyword search</label>
<div class="col-sm-8">
<%= text_field_tag "q1", label_tag_default_for(:q1),
class: 'form-control',
autocorrect: "off",
autocapitalize: "off",
autocomplete: "off",
spellcheck: "false" %>
spellcheck: "false",
"aria-label": "Keyword Search" %>
</div>
</div>
</div>
Expand Down

0 comments on commit 82fc302

Please sign in to comment.