Skip to content

Commit

Permalink
Merge pull request #3070 from projectblacklight/cbeer-patch-1
Browse files Browse the repository at this point in the history
#form_with doesn't support ARIA properties
  • Loading branch information
jcoyne authored Aug 11, 2023
2 parents b3d30bd + ee3d14f commit 2f18ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/blacklight/search_bar_component.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= form_with url: @url, local: true, method: @method, class: @classes.join(' '), scope: @prefix, role: 'search', aria: { label: scoped_t('submit') }, **@form_options do |f| %>
<%= form_with url: @url, local: true, method: @method, class: @classes.join(' '), scope: @prefix, role: 'search', **@form_options do |f| %>
<%= render Blacklight::HiddenSearchStateComponent.new(params: @params) %>
<% if search_fields.length > 1 %>
<%= f.label :search_field, scoped_t('search_field.label'), class: 'sr-only visually-hidden' %>
Expand Down

0 comments on commit 2f18ddc

Please sign in to comment.