Skip to content

Commit

Permalink
updates aria label
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCouzens committed Aug 28, 2024
1 parent 87da8ab commit 6a02a37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/compare/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
%li.c-compare__add-location
%label{ for: 'location-term'}
= t('compare.show.add_location')
%input{ id: 'location-term', type: 'text', name: 'location-term', "aria-label": "Location search", value: @view_state.search_term }
%button{ type: 'submit', value: 'search', name: 'form-action', "aria-label": "Search for location" }
%input{ id: 'location-term', type: 'text', name: 'location-term', "aria-label": "#{t('compare.show.add_location')}", value: @view_state.search_term }
%button{ type: 'submit', value: 'search', name: 'form-action', "aria-label": "#{t('action.search')}" }
= t('action.search')

- if @view_state.search_results
Expand Down

0 comments on commit 6a02a37

Please sign in to comment.