Skip to content

Commit

Permalink
fix skip to content link
Browse files Browse the repository at this point in the history
  • Loading branch information
protitude committed Nov 12, 2024
1 parent 93ff403 commit 77df3b1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions templates/layout/html.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,17 @@
<js-placeholder token="{{ placeholder_token|raw }}">
</head>
<body{{ attributes.addClass(body_classes) }}>
<div id="top"></div>
<div id="top">
</div>
{#
Keyboard navigation/accessibility link to main content section in
page.html.twig.
#}
<a href="#main-content" class="visually-hidden focusable">
{{ 'Skip to main content'|t }}
</a>
<div id="skip-link">
<a href="#main-content" class="visually-hidden focusable">
{{ 'Skip to main content'|t }}
</a>
</div>
{{ page_top }}
{{ page }}
{{ page_bottom }}
Expand Down

0 comments on commit 77df3b1

Please sign in to comment.