feat(testing): add template validation suite and fix HTML structure issues

This commit is contained in:
matt 2025-11-04 10:08:49 -08:00
parent 40023e93b8
commit e17dcf6283
6 changed files with 34 additions and 29 deletions

View file

@ -66,8 +66,8 @@
{% endif %}
{% if (query is defined and query and (not candidates or (candidates|length == 0))) and not inspect %}
<div id="candidate-grid" class="muted" style="margin-top:.5rem;" aria-live="polite">
No results for “{{ query }}”. Try a shorter name or a different spelling.
<div id="no-results-message" class="muted" style="margin-top:.5rem;" aria-live="polite">
No results for "{{ query }}". Try a shorter name or a different spelling.
</div>
{% endif %}