Fixes #22528: Fix keyboard navigation for object list tabs

This commit is contained in:
Jeremy Stretch 2026-06-24 16:48:23 -04:00
parent 76f82989bf
commit 1077ff7169
1 changed files with 2 additions and 2 deletions

View File

@ -38,10 +38,10 @@ Context:
{% block tabs %}
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link active" id="object-list-tab" data-bs-toggle="tab" data-bs-target="#object-list" type="button" role="tab" aria-controls="object-list" aria-selected="true">
<button class="nav-link active" id="object-list-tab" data-bs-toggle="tab" data-bs-target="#object-list" type="button" role="tab" aria-controls="object-list" aria-selected="true">
{% trans "Results" %}
<span class="badge text-bg-secondary total-object-count">{% if table.page.paginator.count %}{{ table.page.paginator.count }}{% else %}{{ total_count|default:"0" }}{% endif %}</span>
</a>
</button>
</li>
{% if filter_form %}
<li class="nav-item" role="presentation">