{"canonical_url":"https://engineer.company/glossary/skip-link/","content_markdown":"# Skip link\n\n## What it is\n\nA skip link is a link that lets a reader move directly past a repeated part of a\npage. A common example is a Skip to main content link near the beginning of a\ndocument. When a person activates it, the browser takes them to a named\ndestination in the same page. The reader can then start reading and moving\nthrough the main content without passing each repeated header control.\n\nThe link relies on an actual destination. On a page linking to `#main`, the main\nregion can carry `id=\"main\"`. That identifier should be unique and stable, so\nthe link continues to work as other parts of the page change. Test where the\nbrowser scrolls and where keyboard navigation resumes. The link's purpose is a\nusable shortcut, so checking only that its destination exists leaves important\nbehaviour unmeasured.\n\nA site can show the link all the time or reveal it when it receives focus. In\neither case, a keyboard user needs to see it when they can operate it. Keep its\nappearance predictable and its wording clear. Use a link whose visible and\naccessible text identifies the content it reaches.\n\n## Why it matters\n\nA header can contain a language picker, service links, contact options and a\nmenu. A keyboard user may reach its controls in turn while visiting every\narticle on the site. These controls are useful when the person needs them. The\nsame controls become repeated work when the person wants to read the next page.\nA skip link lets the reader decide how much of the header to pass through.\n\nThe link also helps when a layout changes. A long menu can be compact visually\nbut still contain many focusable elements when it opens. Some readers begin a\nvisit at the top of the document after moving between pages. A predictable\nshortcut near that point makes the page's reading path easier to learn across\ntemplates and languages.\n\nThe design should preserve a clear distinction between starting to read and\noperating a control. When a skip link jumps to a heading, place the reader\nsomewhere that identifies the content they reached. Make the next key move\npredictable. A destination that is scrolled into view but leaves subsequent\nkeyboard navigation in the header can slow the task despite an apparently\nsuccessful jump.\n\n## What it looks like in practice\n\nOpen a long page with a header and navigation. Begin with no pointer interaction\nand press Tab from the start. Confirm the skip link is reached early and is\nvisible. Activate it and observe the main region and the next key movement. It\nshould be possible to continue with the first relevant content control or follow\nthe natural browser sequence from the chosen destination.\n\nRepeat the test with a short viewport and fixed navigation. A sticky bar might\ncover the destination even when the browser scrolls to its identifier. Check the\nstart of the main region and the visible location after the next Tab. An offset\nor an appropriately placed heading can help preserve the destination's context.\nTest the result in layouts that rearrange the header as the viewport changes.\n\nEngineer's [accessibility statement](/accessibility/) records that a real Tab\ncheck verifies the first stop links directly to the content. It also describes\nchecking that focus is visible and unobscured. That approach supplies a useful\npractical test for a skip link. The rendered shortcut should work even if the\nheader becomes visually larger in one of the site's languages.\n\nTest a page with very short main content too. A link should still give a\nmeaningful destination and leave the next action obvious. Compare normal\nnavigation and shortcut navigation to make sure the user can choose the path\nthat suits the task on each template.\n\n## Where it goes wrong\n\nA skip link can be visually hidden in a way that removes it from interaction.\nMake it visible when focused if it is otherwise positioned out of view. Check\nthat it is above any author-controlled layer that might cover it. Test the text\nand focus treatment in different colour themes and after zoom so the link can be\nrecognised during a real visit.\n\nA destination can disappear when a page template changes, or several fragments\ncan end up sharing the same identifier. The browser may scroll to an unintended\ntarget. Keep a common destination strategy across page types and use a rendered\nnavigation test to verify which element the link reaches. Include error and list\npages if they share the overall header.\n\nSome page shells expose several useful regions. A long tool could provide one\nlink to its main work area and another to results. Choose multiple shortcuts\nonly when they lead to genuinely different tasks. Give each a distinct\ndestination and test the order in which they first appear. Repeated links with\nsimilar labels can create another set of stops before the reader reaches the\npart they wanted.\n\nAlso follow navigation into and out of related pages. A fragment identifier in a\nbookmarked URL can lead directly to the main region. The linked heading should\nstill make sense once it is reached this way. Check how the page behaves when\nthe reader follows a normal article link afterward.\n\nFinally, observe more than the initial jump. The reader should be able to\ncontinue using the keyboard and find related controls within the content. If a\npage has more than one useful shortcut, make their destinations distinguishable.\nA good test records the source link, the destination and the next interactive\nstate so the team can reproduce the shortcut even after changes to layout.\n\n## Further reading\n\n- [WCAG Bypass Blocks](https://www.w3.org/WAI/WCAG22/Understanding/bypass-blocks.html).\n  Describes ways to bypass repeated sections.\n- [WAI technique for linking to main content](https://www.w3.org/WAI/WCAG22/Techniques/general/G1).\n  Explains and illustrates the skip-link technique.\n- [The HTML Standard on navigating to fragments](https://html.spec.whatwg.org/multipage/browsing-the-web.html#scroll-to-fragid).\n  Defines how the browser navigates to an in-page destination.\n\n\u003chttps://engineer.company/glossary/skip-link/\u003e\n","date_modified":"2026-11-25T07:18:46Z","description":"Follow a skip link by keyboard and verify that it moves users past repeated navigation to a usable place in the main content.","formats":{"gemtext":"https://engineer.company/glossary/skip-link/index.gmi","gopher":"https://engineer.company/glossary/skip-link/gophermap","html":"https://engineer.company/glossary/skip-link/","json":"https://engineer.company/glossary/skip-link/index.json","markdown":"https://engineer.company/glossary/skip-link/index.md","pdf":"https://engineer.company/glossary/skip-link/index.pdf"},"kind":"page","language":"en","title":"What is a skip link?","url":"https://engineer.company/glossary/skip-link/","version":1}