a11y: set an aria-label for unlabelled search input (#2531)

This commit is contained in:
David Larlet 2025-03-03 09:04:31 -05:00 committed by GitHub
commit 742a23b668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,7 @@
<input name="q"
type="search"
placeholder="{% firstof placeholder default_placeholder %}"
aria-label="{% firstof placeholder default_placeholder %}"
value="{{ request.GET.q|default:"" }}" />
</div>
<div class="col third mwide">