Skip to content

Commit

Permalink
[TASK] Add skip to page footer
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jun 20, 2023
1 parent f589ba0 commit 50cf308
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Resources/Private/Language/locallang.xlf
Expand Up @@ -9,6 +9,10 @@
<source>Skip to main content</source>
</trans-unit>

<trans-unit id="skiptopagefooter">
<source>Skip to page footer</source>
</trans-unit>

<trans-unit id="skipnavigation">
<source>Skip navigation block</source>
</trans-unit>
Expand Down
3 changes: 3 additions & 0 deletions Resources/Private/Layouts/Page/Default.html
Expand Up @@ -8,6 +8,9 @@
<a class="visually-hidden-focusable page-skip-link" href="#page-content">
<span>{f:translate(key: 'skiptomaincontent', extensionName: 'bootstrap_package')}</span>
</a>
<a class="visually-hidden-focusable page-skip-link" href="#page-footer">
<span>{f:translate(key: 'skiptopagefooter', extensionName: 'bootstrap_package')}</span>
</a>

<f:render partial="Navigation/Main" arguments="{_all}" />
<f:render section="Border" optional="true" />
Expand Down

0 comments on commit 50cf308

Please sign in to comment.