Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Missing skip link: how to add a skip to content link

PRF-317Low impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A skip link is a normal link placed first in the page code. When someone presses Tab on their keyboard, it appears, and pressing Enter moves focus past the header and navigation to the main content.

Your site has this issue when the first Tab press lands on your logo or first menu item, and no link offers a way past the repeated blocks. WCAG success criterion 2.4.1 (Bypass Blocks) asks for a mechanism to skip content that repeats on every page. A skip link is the most common way to meet it. Proper landmarks such as <main> can also satisfy it, but a visible skip link is easier for everyone to use.

Why it costs you leads or sales

Keyboard-only users, screen reader users and people using switch devices move through a page one link at a time. A mega menu with 30 links means 30 key presses on every page before they reach your form, product or call to action. Many give up.

The direct impact on revenue is usually low, because the affected group is small compared with all visitors. But it adds friction for people who already struggle, and it is a common item in accessibility audits and legal complaints.

Keyboard user on a page without a skip link
  1. Page loadsFocus starts at the top
  2. Tab through menu20 to 40 links to pass
  3. Reach main contentMany users give up first
  4. Fill form or buyConversion never happens

Every Tab press moves through the menu before the content is reached.

How to check if your site has it

Test it with your keyboard
  1. Load a page and click the address bar area

    Click an empty spot on the page, or reload, so focus starts at the top.

  2. Press Tab once

    A 'Skip to content' link should appear on screen. If focus goes to your logo or a menu item with nothing shown, the link is missing or hidden for good.

  3. Press Enter on the link

    Focus should jump to the main content. Press Tab again: the next focus should be the first link or field inside the main area, not the menu.

  4. Check the code

    View source and look for an anchor near the top of the body whose href starts with # and matches an id on the main area.

  5. Run an accessibility scanner

    Tools such as axe DevTools or Lighthouse report bypass-block problems. Use them as a second opinion, not a replacement for the keyboard test.

How to fix it

You need three things: the link as the first focusable element, a target with a matching id, and CSS that shows the link when it receives focus. Never hide it with display:none, because then keyboards cannot reach it.

Skip link and targethtml
<body>
  <a class="skip-link" href="#main">Skip to main content</a>
  <header>...</header>
  <main id="main" tabindex="-1">
    ...
  </main>
</body>
Hide off-screen, show on focuscss
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  padding: 12px 16px;
  background: #000;
  color: #fff;
  z-index: 10000;
}
.skip-link:focus {
  top: 8px;
}
Add it on your platform
  1. Check your theme first

    Many modern themes already include one. Test with Tab before adding code.

  2. Edit header.php

    In a child theme, add the link right after the opening body tag (after wp_body_open()). Block themes: edit the header template part in the Site Editor.

  3. Add the CSS

    Go to Appearance > Customize > Additional CSS and paste the skip link styles. Make sure your main area has id="main".

How to confirm it's fixed

Verification checklist
  • First Tab press shows the skip link on screen
  • The link is clearly visible, with enough contrast
  • Pressing Enter moves focus to the main content
  • The next Tab goes to the first item inside the main area
  • It works on key pages: home, landing page, product, checkout
  • It works in at least two browsers, and with a screen reader if you can

How to prevent it happening again

Skip links often disappear when you change theme, rebuild a header or add a page builder template that skips the shared layout. Put the link in the shared layout, not in individual pages. Add a quick Tab test to your launch checklist for every new template, and run an accessibility scan after theme updates.

How FunnelGuard handles this

This issue is outside what FunnelGuard checks. FunnelGuard runs your customer journeys on a schedule and checks forms, tracking hits and lead delivery. It does not audit page code for accessibility. For skip links, use an accessibility testing tool such as an automated WCAG scanner (axe, Lighthouse or WAVE) combined with a manual keyboard test.

Questions people ask

What is a skip link on a website?

A skip link is a link at the top of a page that lets keyboard and screen reader users jump past the header and menu straight to the main content. It is usually hidden until it receives keyboard focus. It helps meet WCAG 2.4.1 (Bypass Blocks).

Why is my skip link not showing when I press Tab?

Most often it is hidden with display:none or visibility:hidden, which removes it from keyboard focus. Hide it off-screen with positioning instead, and reveal it with a :focus rule. It also must be the first focusable element in the page.

How do I add a skip to content link in HTML?

Add <a href="#main">Skip to main content</a> right after the opening body tag, and give your main area id="main". Then add CSS that moves the link on-screen when it has focus.

Is a skip link required by WCAG?

WCAG 2.4.1 (Level A) requires a way to bypass repeated blocks of content. A skip link is the usual method, though correct landmarks and headings can also meet it. A visible skip link is the simplest approach to verify.

Does a skip link affect SEO?

It is not a ranking factor on its own. It does no harm, and it improves usability for keyboard users. Good structure with a main landmark helps both accessibility and machines read your page.

Why does my skip link jump but focus stays in the menu?

The target element usually cannot receive focus in some browsers. Add tabindex="-1" to the target, such as <main id="main" tabindex="-1">, and check that the id matches the href exactly.

Can FunnelGuard detect a missing skip link?

No. FunnelGuard monitors funnels such as forms, checkouts and tracking, not accessibility markup. Use an accessibility scanner and a manual keyboard test for this.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.