Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
Merged
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
8 changes: 8 additions & 0 deletions templates/system/header.html.twig
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<header class="bg-primary">
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<a href="#main-content" class="visually-hidden focusable skip-link">
<i class="fas fa-fast-forward" aria-hidden="true"></i>
{{ 'Skip to main content'|t }}
</a>

<!-- Main navigation -->
<nav class="navbar navbar-expand-lg navbar-dark site-max">
Expand Down
11 changes: 1 addition & 10 deletions templates/system/html.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,7 @@
</head>

<body{{ attributes }}>
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<nav aria-label="Skip to Main Content">
<a href="#main-content" class="visually-hidden focusable skip-link">
<i class="fas fa-fast-forward" aria-hidden="true"></i>
{{ 'Skip to main content'|t }}
</a>
</nav>

{{ page_top }}
{{ page }}
{{ page_bottom }}
Expand Down