search-cell: improve markup to target button and button label (#57570)
This commit is contained in:
parent
4262533fec
commit
377cbcc955
|
@ -7,7 +7,9 @@
|
|||
{% block search-form %}
|
||||
<form id="combo-search-form-{{ cell.pk }}" class="combo-search-form">
|
||||
<input type="search" name="q" autocomplete="off" id="combo-search-input-{{ cell.pk }}" class="combo-search-input" {% if cell.autofocus %}autofocus {% endif %}{% if cell.input_placeholder %}placeholder="{{ cell.input_placeholder }}" {% endif %}/>
|
||||
<button class="submit-button" aria-label="{% trans 'Search' %}">{% block submit-content %}{% trans 'Search' %}{% endblock %}</button>
|
||||
<button class="submit-button combo-search--button" aria-label="{% trans 'Search' %}">
|
||||
<span class="combo-search--button-label">{% block submit-content %}{% trans 'Search' %}{% endblock %}</span>
|
||||
</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue