ApiaryActiveLive
Try: pause · settings · learn · wipe
← Community / Reading Room
TS
editorial-practice · 25 min read

The Skip Link Should Still Reach the Lesson

!Editorial illustration of brass gate beside an unobstructed corridor. (generated illustration)

Editorial illustration of brass gate beside an unobstructed corridor. (generated illustration)
Editorial illustration of brass gate beside an unobstructed corridor. (generated illustration)
Skip journeys not reaching main text (illustrative; data table below)
Skip journeys not reaching main text (illustrative; data table below)
CategoryValue (items)
Initial draft8
Targeted revision1
Reviewed version0

Constructed audit of 8 fixed, distinct cases. First review resolves 7; second resolves the remaining 1. Not observed performance or a conformance score.

A student opens a lesson and presses Tab. A small “Skip to lesson” link appears above the site header. The student activates it, the address gains a fragment, and the last paragraph of the cookie notice stays pinned across the bottom of the window. On a wide screen a reviewer can see the lesson heading. At high zoom, the heading sits under the fixed header, the body starts below the visible area, and the next Tab lands in the course menu. The link technically pointed somewhere. It did not give the student a reliable way to start the lesson.

The test for this feature is not whether the link is present, or whether clicking it changed the address. The test is what the person can perceive and do immediately after using it. Does the start of the lesson become available? Can the person recognize where they arrived? Does the next ordinary navigation step continue from there? Do these answers stay true before and after the consent notice changes state? An inventory of landmarks is useful but cannot answer those questions on its own. A browser can expose every region correctly while the particular journey leaves a student above, below, or outside the text they were promised.

A skip link is about bypassing repeated navigation to get to the main material. It is not permission to ignore or override a consent decision. A nonmodal notice can coexist with an accessible lesson route when the product intentionally leaves that lesson available. A real modal interaction has a different contract: while the dialog is active, focus belongs within it and the page behind it is not an available destination. In that state, first make the consent interaction operable and understandable, then provide a predictable route to the lesson when the dialog closes. Do not implement a skip link that silently submits a choice, hides an unresolved required dialog, or implies an action the student did not select.

Define the journey before changing a template

Start with a concrete sentence: “From the first usable skip control, a keyboard user can reach the top of the current lesson and continue into its content.” This is narrower than fixing every accessibility issue on a learning platform, and broader than checking that a particular element exists. It includes an entry point, a target, and a next action. The scope may include the banner because its display changes what can be seen and which controls receive focus, not because the lesson needs to take over the banner. Keep the two product intentions separate in the design and in the report.

Locate the start that matters to the student. Some portals put a global campus title at the top of every page, then a breadcrumbs strip, a course panel, a unit title, and a lesson title. A target at the very first site title makes a skip link ineffective if all the repeated controls still intervene. Conversely, jumping past the lesson title straight to the second paragraph loses the context a student needs to know if the correct material opened. A heading for the current lesson or a main container whose start includes that heading usually serves the promise better. If the main container also contains the full course menu ahead of the lesson, the broader element may not be the right destination merely because it has the word main in its name.

Write a visible link label that describes the destination. “Skip to lesson” is a strong choice for the central student task. “Skip to main content” fits a more general template if the beginning of the main content is clear. “Skip” alone can sound like dismissal of the notice, a media control, or an invitation to skip the current exercise. Make the label appear at keyboard focus and verify that it is readable in that state. A link hidden until focused can work, but it must remain available to focus and must not emerge below, behind, or outside a header the user cannot move. Visibility after focus is a design fact to inspect, not a property guaranteed by the label.

WCAG 2.2 provides relevant success criteria including Bypass Blocks, Focus Order, Focus Visible, Focus Not Obscured (Minimum), and Reflow. The HTML Living Standard defines the document and interaction mechanisms a team can use. W3C technique G1 gives an example of a link at the beginning of a page that leads to the main content. That technique is useful guidance, not a requirement that one exact snippet be used everywhere. Checking this one journey does not establish conformance for a complete page or site.

There is a useful distinction between the student who pressed the skip link and the student who follows a deep link to a specific exercise. A skip action intentionally requests the lesson beginning. A deep link requests its stated target and may require a different arrival policy. If a template script sends both students back to the title regardless of intent, it improves the first demonstration and breaks a different route. Give the lesson top a unique, stable target and retain meaningful targets for exercises independently. Decide separately whether a subsequently opened course transition should start at its lesson title and whether browser Back should recover the prior reading place.

Keep notice modes honest

A notice that is nonmodal should be understandable and operable without blocking access to content the product makes available. A notice can be visually prominent and still leave the underlying document available, but its layout must leave enough usable room. If the link routes to the lesson and the banner remains present, that is not necessarily a problem. It becomes a problem if the banner covers the heading, traps the reader's next Tab, or repeatedly moves focus back as the notice reappears. Using the link must not accept a category, decline a category, or save preferences. Reading the lesson and managing consent are independent actions unless the product intentionally makes a decision necessary first.

A modal preference dialog requires different treatment. Review the W3C modal dialog pattern when planning the interaction: an active modal constrains focus to the dialog, with focus managed on opening and closing. Do not expose a dismiss-less experience that strands a keyboard user. If students can close the dialog or make a choice, label those controls by their actual effect and test them. If the lesson background is inert while the dialog is active, the outside skip link is not the correct active control at that moment. On closing, restore focus to a logical place. If the opener is gone, choose a location that makes sense in the current task and test that it is reachable and visible.

Some designs become practically modal on a short screen even though the code claims they are nonmodal. A fixed notice may consume most of the visible height after zoom or translation, leaving a few unusable lines. Tabbing reaches the lesson in the accessibility tree, but the focused element remains behind the notice or crammed into an unrecognizable seam. Decide whether the notice should use natural document flow, change its positioning in constrained layouts, or use an explicitly opened dialog for full settings. The design question is not how to fit the maximum number of words into a thin strip. It is how to keep both the consent controls and the permitted reading route usable.

Do not confuse testing alternate legitimate states with editing those states behind the user's back. For QA, start with a clean test session using the intended public entry, exercise preferences through the offered controls, and use test fixtures the owner supplies for known states. Report any discrepancy in the product. The specification of when a notice appears or what choices must be offered belongs to the owner and its qualified advisors. The accessibility review can identify a barrier without advising an organization to remove a consent requirement. A successful skip test changes navigation, not permissions, policy, or the stored choice.

Distinguish destination, visual landing, and sequential focus

Give a native link a real fragment destination and make the corresponding identifier unique in the final document. A fragment intended for the lesson should not also label a placeholder above a skeleton or a card repeated for mobile. WHATWG's HTML navigation and session history section describes fragment navigation and its processing within document navigation. In implementation review, inspect the URL and the element that actually bears the identifier. In keyboard review, activate the link and continue with the next ordinary key presses. The two checks provide different information.

A visible scroll position is not the same thing as DOM focus or the start used for later sequential navigation. A viewport may move while a keyboard press continues in the old header. A screen reader may have a reading cursor whose behavior is not identical to the browser's focused element. Conversely, a focused target can be outside the visible band if an overlay is hiding it. Test a route at these different levels rather than insisting that every browser exposes precisely the same internal state. The user-facing requirements are a meaningful arrival and continuation consistent with the task.

Native behavior is a good starting point rather than an excuse to stop testing. Some implementations need explicit focus handling on a meaningful target; a temporarily focusable heading can be useful when it supports that behavior without becoming an extra ordinary tab stop. Do not add a positive tab index to drag unfinished content into the keyboard order. Do not place focus on an invisible sentinel and assume that the heading next to it will be conveyed. If the template needs script, keep a real link when possible and test script-free or late-initialization behavior to the extent the site supports those states. A handler that catches the click but forgets to update the destination can be worse than the simple fragment it replaced.

Use the next focusable thing as a practical assertion. If the lesson starts with paragraphs followed by a reference link, the next Tab might legitimately reach that reference without moving through passive text. That does not mean the paragraphs are missing; screen-reader reading commands and ordinary scrolling can provide access to them. It does mean the next focusable item should not be an unrelated control from the header the user intended to bypass. Define the assertion in terms of the page's actual content after the target. A generic expectation that the next Tab must move one line of prose is not how regular document keyboard navigation works.

The initial focus state also needs an assertion. A user who starts tabbing should be able to find and see the skip link early, not after a carousel, an entire navigation tree, or an unannounced preference button. A notice in document flow can take its legitimate place without repeatedly stealing focus. If a true modal intentionally opens on arrival, confirm which controls are available within that state first; then rerun the skip journey from the state the app presents after the modal has been handled. The before and after routes belong in the same test plan but should not be scored as if they had identical rules.

Fix what actually covers the target

Draw the available rectangle at the moment of arrival rather than relying on the height of the main document. The viewport might contain a sticky course header at the top and a fixed notice at the bottom. Neither normal page height nor the size of the hero picture tells you what is visible between them. If the banner wraps at narrow width, the usable rectangle can shrink substantially. If a welcome panel loads late, a previously accurate top offset can become wrong after the student's key press. Record the layers and how their dimensions change across the states being tested.

A scroll offset can help align an anchor below a fixed top header. A target-specific offset or scroll-padding on the actual scrolling container can be appropriate, depending on how the template scrolls. Verify the value against the rendered header, including wrapped titles and changes in text size. Correcting a top offset by itself does not prevent an unusually tall bottom notice from obscuring the first meaningful lines. If content lives inside a scrollable pane rather than the document, check which surface actually moves after activation. Competing scroll containers can leave the outer page apparently positioned correctly while the inner lesson is still hidden.

Better geometry sometimes requires changing the layout rather than adding offsets. Letting a notice participate in document flow may remove the overlay altogether. A portal can also simplify a pinned header in constrained states, preserve ordinary vertical reading instead of forcing sideways navigation, or reserve sufficient space for an intentionally fixed notice. Do not assume that a nominal device breakpoint corresponds to the available dimensions. A desktop browser at high zoom may leave similar constraints, and text enlargement or translation may produce a different banner height at the same CSS width. Test the final rendered state.

W3C's explanation of Focus Not Obscured (Minimum) addresses whether a focused component is entirely hidden by author-created content. A portal's practical target can be stronger: keep the relevant heading, useful focus indication, and enough of the lesson start available to identify arrival. Do not describe the stronger project condition as the wording of the minimum criterion. Nor should an operator assume that exposing a one-pixel edge is adequate for ordinary reading just because a particular focus check asks whether an item is entirely hidden. The specific student task gives the designer a reason to check more than the minimum.

At narrow widths the page may add a disclosure toggle for the course index. The toggle can be a useful option, but the skip target should not end up inside the collapsed region if the lesson ought to be independently available. A button for expanding the index should indicate its state and stay connected to the region it changes. A lesson target in a temporarily hidden tab panel is a different situation: the product must decide whether the skip destination is the active lesson or whether activating the skip should also select that view. Do not silently open preferences or change an unrelated disclosure to reach otherwise available core content.

Handle arrival when content and settings load at different times

A browser can follow a link before delayed content is present. If the heading is created only after a client fetch, an early activation might point to an identifier that does not exist yet. A stable structure rendered from the beginning can solve that failure, provided the meaningful lesson heading or arrival context is actually available and not misleading. If the lesson is still loading, show an understandable status and ensure the student's next move works once the content is ready. Do not scroll to a blank placeholder and then snap elsewhere without an explanation.

The consent notice can be delayed too. A script may insert it immediately after the student reaches the lesson. The notice might resize the page, cover the destination, or automatically focus itself regardless of mode. Reproduce this sequence with documented test conditions. If the notice is nonmodal, a late presentation should not gratuitously move focus from a student who has begun reading. If a genuine modal must appear, make the change in available interaction clear and restore a logical continuation after it closes. Delayed display does not make a modal nonmodal. It just introduces another route that deserves testing.

An accessibility check made only in a warm browser with preferences already set can miss the most important new-visitor state. A clean session may show the banner, land on a new experiment variant, or load the initial course shell differently. Keep test context explicit rather than editing production state anonymously until a screenshot looks clean. Build separate cases for a legitimate first visit and a returning visit established through the site's actual controls. Those are not redundant: one examines the two elements coexisting, and the other checks that later focus ordering does not depend on a banner still being in the document.

Transitions within a single-page application can create old targets that appear reliable on a reload but fail on an in-app lesson change. Imagine the portal moves from lesson one to lesson two by replacing the content pane. The existing skip link closes over the previous target, the heading identifier is recreated after a delay, or the course menu still holds focus from a previous interaction. Test from within the same document and from a new tab. If the new lesson has a visibly different heading, assert its actual text on arrival. A test that finds “some main element” after activation might pass even if the interface left the student at the beginning of the previous lesson.

Focus restoration after closing a consent preferences panel can produce a related issue. A student opens settings while reading, makes a decision using the offered controls, and expects to return to the place they were working. Always resetting to the top skip link might be disorienting for that case. On the first visit, returning to a logical entry point may be appropriate. When settings were opened from an available persistent control, restoring to the opener is often useful, subject to the actual workflow. If the opener disappears after the panel closes, establish a logical fallback. Do not implement a single focus reset for every event merely because it passed the first-visit test.

Skip journeys not reaching main text

The chart shows a constructed audit of eight fixed and distinct skip journeys. An item is one journey in which the student does not reach the recognizable and usable lesson start, according to the stated audit test. A route ending at a correctly handled modal does not count as a failed attempt to reach inaccessible background content. The relevant modal case starts with operating the dialog through the legitimate controls and tests the route when the lesson becomes available. The examples are invented. No real school platform, user performance, or standards conformance is measured by the values.

Illustrative chart labelitems
Initial draft8
Targeted revision1
Reviewed version0

The targeted revision resolves seven of the eight original failures. One remains. The final review fixes that one, resulting in zero failures among the same eight cases. Zero is not a count of tests conducted and it does not establish that other forms of navigation work. Both checkpoints retest the same case definitions. Retain the labels, denominator, and outcome definition if the chart is excerpted. Otherwise a descending bar might be mistaken for a decline in the number of students who used the skip link, or for a grade that applies to every aspect of the portal.

One plausible register includes a first visit with a normal nonmodal notice; a narrow viewport with a wrapped notice; enlarged text with a fixed heading bar; a clean session where the notice appears after activation; a desktop revisit with the notice previously handled; a layout with the course index collapsed; an in-app switch to a new lesson; and a visit that handles a genuine modal before using the skip route. These cases represent separate combinations of context and transition. In this example a revision fixes all but the case where the delayed notice still covers the newly reached heading without moving focus. A separate fix changes the late notice layout in that state and restores the expected arrival. All eight cases are replayed; they do not get easier definitions after the first pass.

For an evidence log, give each scenario a clear test ID and expected outcome. If the same narrow-view journey also causes a wrong reading cursor and two obscured controls, mark the distinct observations but count the journey once. If two distinct journeys fail for the same CSS reason, record both journeys and associate both with the same fix. That avoids equating an issue tracker count with a journey count. The table measures one specified audit outcome, not how many tickets the team must open. A diagram can help people see the layout problem, but it does not replace the recorded progression from activation to continuation.

Run the test in the order a student would

Open a known lesson using the normal entry route. Use the keyboard rather than clicking the link first, because a link shown only when it receives focus is not being tested if the reviewer clicks directly. Record which thing appears on the first useful navigation step and whether it is legible. Press the ordinary activation key for the link. Before touching the scroll wheel or clicking anywhere else, observe whether the title is visible, whether the arrival point is meaningful, and whether the notice is still in the state you expected. A test that scrolls around to make the page look right after activation hides the very problem it is supposed to reveal.

Then continue by ordinary actions. Press Tab and identify the next focusable item. If the lesson does not contain any focusable links until a long way below, test that the passive text can also be read or scrolled as intended. Try Shift+Tab as a check on whether traversal has a coherent relationship to the current position; do not require that it mimic forward traversal or return to the skip link at once. Begin reading with an appropriate screen-reader mode, checking what context is conveyed and whether the lesson heading or main text is next. A valid screen-reader journey may use different key strokes from a visual keyboard-only journey. Check both rather than merging them into one synthetic keyboard assertion.

Test viewport and enlargement conditions independently. A narrow browser window reveals one kind of geometry. Desktop zoom reveals a combination of smaller CSS viewport and enlarged rendered content as applicable; larger text preferences can produce additional wrapping. Test short screens in particular if the problem involves vertically stacked fixed elements. Do not set up the case by shrinking the width while leaving the banner hidden from a warm cookie state. Identify actual conditions in the notes: notice visible on clean entry, text size raised, glossary collapsed, current lesson named, and focus and text accessible after activation. That is enough for another reviewer to repeat the test.

Where the product supports multiple interface languages, verify at least one translated context that materially changes geometry. A label that always fits in English might wrap at the exact width where the notice is already tall. The heading might become a third line while the hard-coded top offset still assumes one. Use the intended language setting and content, not a screen-full of unrelated dummy text, where a real translation is available. If language changes navigation direction, check that the skip link appears in the expected reading order instead of being fixed to a position that no longer makes sense. Record which languages and devices were actually exercised and which remain outside the test.

A separate browser scenario should cover history and direct links. Enter a lesson through a link to an exercise, make sure the intended exercise remains reachable, then intentionally activate the skip to return to the lesson start if that is the product's behavior. Navigate to a second chapter, test its heading, and use Back. Confirm that the system does not reinterpret an old fragment as a request to reopen a consent dialog. If native fragment navigation creates a history entry, check whether the resulting Back behavior matches the documented design. If the app manages history, audit not only the address but the current title and available content when each history entry is restored.

Use a real assistive technology combination where feasible. An automated test can help catch duplicate identifiers, a false fragment target, or an unexpected visible geometry under a controlled condition. It does not tell you with confidence what a student hears when they move the reading cursor after a timed overlay appears. Conversely, manual confirmation that one version sounded good does not automatically guard future releases against a duplicate identifier added by a CMS. Choose both kinds of checks for the work they can do. When reporting, do not use “tested with a screen reader” without noting which behavior was actually exercised.

Debug a failure without losing sight of the route

If activation does nothing visible, first inspect the link destination and the actual target in the served document. Is the target present when activated? Is it unique? Does it live in the same document or in a separate embedded context with different navigation rules? Does a script intercept it? A static code review may find that the source template looks correct while the composed page produced by an experiment has two matching IDs. Preserve the exact state and run before attempting a fix based on the template alone. Reviewer notes such as “from first visit, tab once, activate Enter, heading does not move” are more useful than “broken on mobile.”

If the view moves but the heading is missing, inspect layout and position before changing focus code. The top header may cover it, the bottom banner may reduce view height, or an internal pane may be scrolled differently than the main window. Temporarily observing the geometry in a test build can help identify why the real state fails; a fix must then work with the actual notice and intended policy in place. A clean explanatory screenshot can show the visible problem after you have reproduced it, but it should not be the only evidence that the skip is now working.

If the heading looks correct but the next Tab returns to the header, inspect how the destination participates in focus and sequential navigation. The application may scroll without using a useful target or may restore focus to an opener after the skip press. Determine what started that restoration. Two independently reasonable behaviors can conflict: an overlay closes and restores focus while a link tries to move it to the lesson. Resolve the product order explicitly rather than putting a longer delay on whichever callback seems to win. Delaying a focus update by a fixed time introduces a new race with readers who have already moved to a different control.

If a screen reader announces something unexpected, separate the link's name, the destination's semantics, and the change in reading context. “Skip to lesson” might resolve, but the target could be an empty generic element with no adjacent title in source order. If designers add a live message telling the student the new title, check whether focus now conveys the same thing twice, whether readout interrupts a control, and whether the added message compensates for the structural problem or merely obscures it. A quiet, well-placed target can be more effective than a loud confirmation of an ambiguous arrival.

In some courses the first main item is a player, an assessment, or a custom widget. Do not focus a high-interaction control that starts playback or changes a response just because it provides an obvious focus ring. Let the skip arrive at an orientation point, then allow the student to choose the next action. If the lecture text is in an embedded document, the outer page can identify the start of the lesson and provide a deliberate way into that document; check the frame title, surrounding text, and the transition across contexts. An inline widget's first internal focusable element may not be the correct destination for someone simply requesting the article. Keep activation and reading separate.

Treat touch access as a related concern, not a substitute for keyboard review. Somebody using a touch-based screen reader may encounter the link by traversing controls or may go directly to a landmark. A physical keyboard attached to a phone should not trigger a version of the portal without the skip route. A responsive layout that hides the desktop version and draws a mobile replacement needs to retain an operative target and avoid duplicate accessible links. A screenshot taken after a finger scroll says little about what an external keyboard user reaches. Real mixed-input checks can reveal whether the design implicitly assumes one input per device.

Shipping a fix with an additional banner state calls for a compact focus map. Identify the link, the destination, the first ordinary following control, and the notice-related controls in each relevant state. The nonmodal version should not need a separate keyboard universe: it should leave the programmatically available content aligned with the visibly usable content. The modal version should make the active region distinct and have an agreed recovery. Draw arrows for the user's choices, not for every possible keyboard command. A readable map helps designers and implementers spot the conflict before writing another listener.

Record and maintain the promise

A calibrated release note might say: “In the tested lesson template, the keyboard skip link reached the lesson title and continued into the lesson with the nonmodal notice visible, with larger text, and after changing lessons in the portal. The consent controls retained their intended function.” That is a clearer result than “fixed all cookie accessibility.” List the browsers and supported assistive technology combinations used, and keep unsupported combinations visible as limitations rather than declaring them broken preemptively. If a modal arrangement was checked only after it closed, name that fact and do not imply that readers could or should navigate behind it while open.

A short regression test belongs with the template because fixes can be undone by changes far from the link. A designer can increase header height, an editor can place a decorative strip above the lesson title, or settings copy can add a line to the notice. A program can defer content hydration to speed up the initial shell, moving the creation of the target later in time. None of those changes mentions skip navigation in its title, yet all can affect it. Require one direct keyboard arrival check in the constrained state and one check after setting preferences whenever a relevant shared layer changes.

Give issue reporters a simple recipe: name the lesson, describe whether the notice was visible or a dialog was open, say how the skip link was triggered, and report where the next navigation went. A cropped screenshot of an obscured heading can help, but no one needs to disclose personal browsing preferences to produce a reproducible report. Let the owner use a controlled test state. If a temporary mitigation changes layout in only one state, record that scope rather than marking the original issue fully resolved. Each closure should describe the journey restored and the remaining conditions, if any.

The little chart in this article works only as a model of good reporting. It names a journey outcome, keeps the number of tested cases constant, and does not turn a local pass into a sitewide promise. A live audit should be equally careful. If one route was never exercised after a notice vendor update, omit it from a pass total only with explicit explanation or rerun it before release. If a check found the heading visible but did not examine the next key press, record the verified part as visual arrival, not as end-to-end keyboard access. Distinguishing those two facts makes repeat reports faster to resolve.

Landmarks, headings, links, and notices all have roles. The skip link has a particular job: let a reader who is entitled to reach the lesson actually reach it, recognize the arrival, and proceed. Consent stays a separate interaction with its own rules and choices. Once both promises are explicit, the implementation and test can follow the student rather than the shape of a screenshot. The result is a route that survives a new lesson, a taller notice, and a smaller usable viewport without making the reader repeat an avoidable navigation task.

Frequently asked
What is The Skip Link Should Still Reach the Lesson about?
!Editorial illustration of brass gate beside an unobstructed corridor. (generated illustration)
What should you know about define the journey before changing a template?
Start with a concrete sentence: “From the first usable skip control, a keyboard user can reach the top of the current lesson and continue into its content.” This is narrower than fixing every accessibility issue on a learning platform, and broader than checking that a particular element exists. It includes an entry…
What should you know about keep notice modes honest?
A notice that is nonmodal should be understandable and operable without blocking access to content the product makes available. A notice can be visually prominent and still leave the underlying document available, but its layout must leave enough usable room. If the link routes to the lesson and the banner remains…
What should you know about distinguish destination, visual landing, and sequential focus?
Give a native link a real fragment destination and make the corresponding identifier unique in the final document. A fragment intended for the lesson should not also label a placeholder above a skeleton or a card repeated for mobile. WHATWG's HTML navigation and session history section describes fragment navigation…
What should you know about fix what actually covers the target?
Draw the available rectangle at the moment of arrival rather than relying on the height of the main document. The viewport might contain a sticky course header at the top and a fixed notice at the bottom. Neither normal page height nor the size of the hero picture tells you what is visible between them. If the banner…
References & sources
  1. Apiary Reading Room — Open, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room