Single skip-to-main link
PreferredMain content
This is where the skip link lands focus.
Tab into the mini page — the skip link appears first. Press Enter to jump.
<!-- Skip link is the first focusable element, target has tabindex="-1" -->
<body>
<a href="#main" class="skip-link">Skip to main content</a>
<header>
<nav>...</nav>
</header>
<main id="main" tabindex="-1">
<!-- actual content -->
</main>
</body>The simplest, universal pattern. Must be the first focusable element and target an element with tabindex="-1".

