Skip to content
Snippets Groups Projects
Commit 52f463de authored by Chris Lawton's avatar Chris Lawton
Browse files

adding aria-label to search form

parent d56462fc
No related branches found
No related tags found
No related merge requests found
......@@ -15,9 +15,9 @@
<p>No results found.</p>
{% endif %}
<form class="form" action="{% url 'search' %}" method="get" role="search">
<input class="input input--bottom-space" type="text" placeholder="Search…" name="query"{% if search_query %} value="{{ search_query }}"{% endif %}>
<input class="link link--button" type="submit" value="Search">
<form class="form" action="{% url 'search' %}" method="get" role="search" aria-label="Search form">
<input class="input input--bottom-space" type="text" placeholder="Search…" name="query"{% if search_query %} value="{{ search_query }}"{% endif %} aria-label="Search input">
<input class="link link--button" type="submit" value="Search" aria-label="search">
</form>
{% get_search_promotions search_query as search_picks %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment