Back-to-top-Button: erscheint nach 1,5 Viewporthöhen, Fokus-Management, reduced-motion, 48px-Ziel

Enthält auch User-Upgrade: JSON-LD als @graph mit seitenspezifischen Extra-Knoten

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-11 23:00:03 +02:00
parent 557fe1c16b
commit 259e209692
6 changed files with 252 additions and 20 deletions

View File

@@ -14,9 +14,12 @@ declare(strict_types=1);
<body>
<a class="skip-link" href="#main">Zum Inhalt springen</a>
<?php component('header', ['current' => $current]); ?>
<main id="main">
<main id="main" tabindex="-1">
<?= $content ?>
</main>
<?php component('footer'); ?>
<a class="back-to-top" href="#main" hidden>
<?= icon('arrow-up') ?><span class="visually-hidden">Zurück nach oben</span>
</a>
</body>
</html>