Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion froide/locale/de/LC_MESSAGES/django.po
Original file line number Diff line number Diff line change
Expand Up @@ -7381,7 +7381,7 @@ msgstr "Überspringen"
msgid "Skip this part next time and start at “Choose public body” (optional)"
msgstr "Diesen Teil beim nächsten Mal überspringen und direkt mit „Behörde wählen“ beginnen (optional)"

#: froide/templates/header.html
#: froide/templates/base.html
msgid "Skip to main content"
msgstr "Zum Hauptinhalt springen"

Expand Down
3 changes: 3 additions & 0 deletions froide/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
{% load frontendbuild %}
{% block body_tag %}
{% block above_footer %}
{% block skip_link %}
<a href="#main" class="visually-hidden-focusable skippy">{% trans "Skip to main content" %}</a>
{% endblock skip_link %}
{% if request.user.is_authenticated and request.session.impostor %}
{% include "account/includes/impostor.html" %}
{% endif %}
Expand Down
1 change: 0 additions & 1 deletion froide/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
{% get_menu_items as menu_items %}
{% endif %}
<header id="header">
<a href="#main" class="visually-hidden-focusable skippy">{% trans "Skip to main content" %}</a>
<nav class="navbar navbar-secondary navbar-expand-md navbar-light justify-content-between {% block navbar-class %}{% endblock %}">
<div class="container">
{% block nav_brand %}
Expand Down
Loading