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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user