diff --git a/scipost_django/scipost/templates/scipost/navbar.html b/scipost_django/scipost/templates/scipost/navbar.html index a6044acbec711b87c2f5b6a4da46d6da9d511da1..05b5abcc25a104f95b3be626d3feeec19b45673a 100644 --- a/scipost_django/scipost/templates/scipost/navbar.html +++ b/scipost_django/scipost/templates/scipost/navbar.html @@ -88,7 +88,7 @@ {% endif %} </li> - <li class="nav-item dropdown"> + <li class="nav-item dropdown" role="presentation"> <a class="nav-link dropdown-toggle" href="#" id="MoreDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-trigger="hover">More</a> <ul class="dropdown-menu" aria-labelledby="MoreDropdown"> <li> @@ -154,7 +154,7 @@ </li> {% if user.is_authenticated %} - <li class="nav-item dropdown mx-2 ms-lg-auto"> + <li class="nav-item dropdown mx-2 ms-lg-auto" role="presentation"> <a class="nav-link dropdown-toggle" href="#" id="PersonalDropdown" role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-trigger="hover"> Logged in as {% if user.last_name %}{% if user.contributor %}{{ user.contributor.profile.get_title_display }} {% endif %}{{ user.first_name }} {{ user.last_name }}{% else %}{{ user.username }}{% endif %}</a> @@ -200,7 +200,7 @@ <a href="{% url 'helpdesk:ticket_create' %}" target="_blank" class="nav-link"><span style="font-size: 80%;" data-bs-toggle="tooltip" data-bs-html="true" title="Notice something wrong?<br/>Open a support ticket">{% include 'bi/sticky-fill.html' %}</span></a> </li> {% else %} - <li class="mx-2 mx-lg-auto nav-item{% if request.path == '/login/' %} active{% endif %}"> + <li class="mx-2 mx-lg-auto nav-item{% if request.path == '/login/' %} active{% endif %}" role="presentation"> <a class="nav-link" href="{% url 'scipost:login' %}?next={{ request.path }}">Login or register</a> </li> {% endif %}