Skip to content

Commit

Permalink
Changed input label to aria-label
Browse files Browse the repository at this point in the history
  • Loading branch information
murdo-moj committed Sep 27, 2024
1 parent dbbf525 commit 9548c1c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,11 @@ <h1 class="govuk-heading-xl app-masthead__title">{% translate "Discover data fro
<p class="govuk-body-l" style="color: white;"> {% translate "service_description" %} </p>

<form action="{% url 'home:search' %}" method="get" role="search" class="govuk-!-margin-bottom-0">
<label
for="search-input"
class="govuk-label govuk-label--m"
>{% translate "Search metadata catalogue" %}</label>
<div
class="app-search app-search--compact app-search--on-govuk-blue govuk-form-group govuk-!-padding-bottom-0 govuk-!-margin-bottom-2"
>
<input id="search-input" name="query" class="search-input govuk-input" type="search" />
<button type="submit">
<input id="search-input" name="query" class="search-input govuk-input" type="search" aria-label="search-input"/>
<button type="submit" aria-label="search-button">
<svg
aria-hidden="true"
focusable="false"
Expand Down

0 comments on commit 9548c1c

Please sign in to comment.