The useful part, up front

What you’ll take away

  • Keyboard access concerns completing a task, not making every visible item a separate Tab stop.
  • In manual tabs, arrow movement changes focus while Enter or Space changes selection and the displayed panel.
  • A roving Tab entry, the current focus target and the selected item must be coordinated deliberately.
  • Visible focus, logical order and protection from covering content require separate checks.
  • Record the starting state, key, resulting states and exit route in the actual browser and input environment.
01

A selected panel and the current keyboard target can differ

Imagine a device guide with three tabs: Overview, Ports and Power. Overview is currently displayed. You press an arrow key and a visible outline moves to Ports, but the Overview text remains on screen. That can be a deliberate interaction: focus has moved, while selection has not. In a manually activated tab interface, pressing Enter or Space confirms the focused tab and changes the displayed panel. W3C's ARIA Authoring Practices Guide, or APG, describes this separation [3][4].

Focus identifies the current point of keyboard interaction; selection identifies the chosen item in a component that supports that state [3][5]. Our fictional guide will use these two ideas throughout. It has a horizontal tab list, one displayed panel, and text at the start of each panel. All state traces and screen coordinates below are original paper examples, not observations of a tested product. Following one small interface makes it possible to ask precise questions: where did the key move focus, what became selected, and which content is now displayed?

Focus and selection identify different states. Manual tabs in the fictional device guide. A selected panel can remain open while the keyboard target moves elsewhere.
Manual tabs in the fictional device guide. A selected panel can remain open while the keyboard target moves elsewhere. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
02

Keyboard access is about completing the action

Counting the things reached by Tab is useful, but it does not settle whether a task works. A control might receive focus yet ignore the key intended to activate it. Conversely, a grouped interface can offer a keyboard route to its items without putting every item in the page's Tab sequence. WCAG 2.2's Keyboard criterion concerns operating functionality through a keyboard interface; its explanation does not require every visible pointer control to be a separate focusable keyboard target [1].

The requirement includes a specific exception for functions whose input depends on the movement path, and it avoids requiring particular timing for individual keystrokes. That exception belongs to the underlying function, not merely to an author's decision to implement it with a mouse [1]. For the guide, selecting a panel plainly has a keyboard route. Native HTML controls supply useful built-in behavior, whereas adding an ARIA role to a custom element does not create the necessary keyboard handling [3]. A familiar appearance and a descriptive role still need working interaction.

03

Tab moves between components; arrows can move inside one

APG describes a common distinction: Tab and Shift+Tab move between interface components, while other keys move among items within a component [3]. In its tabs pattern, entering the tab list places focus on the active tab. Left and Right move among tabs in a horizontal list, wrapping at the ends. Tab then leaves the list for the next appropriate focus target outside it [4]. Three tabs therefore need not create three consecutive stops in the page's Tab sequence.

For our guide, pressing Right from Power returns focus to Overview. Pressing Tab instead moves out toward the displayed panel. Because that panel begins with text, the documented pattern includes the panel itself in the sequence; an appropriate first focusable content element can change that destination in another design [4]. These are tabs inside a page, not browser-tab switching commands. Nor should the pattern be copied indiscriminately onto ordinary navigation links. The component's meaning determines which keyboard convention helps the reader predict the next move.

04

Follow focus and selection through the same key sequence

Start with focus on Overview and Overview selected. Right moves focus to Ports; a second Right moves it to Power. Overview remains selected because this version uses manual activation. Left then returns focus to Ports, still without changing the displayed panel. Only when Space is pressed does Ports become selected and its content replace Overview. This original sequence follows the documented navigation and manual-activation rules [3][4].

Now press Tab. Focus moves into the displayed Ports panel, while Ports retains its selected appearance. That persistent mark answers which panel is open, not where the next keyboard input is directed. A useful check records both answers after each step. If the content changes on the first Right, the implementation has automatic behavior rather than the manual behavior specified here. If Space changes a label but leaves Overview visible, the state and content have become inconsistent. These are hypothetical findings that a real review could investigate, not faults observed on an actual site.

Trace the input, focus target and selection separately. Original manual sequence. Two Rights visit Ports then Power; Left returns to Ports. Space activates it; Tab then enters its text-first panel.
Original manual sequence. Two Rights visit Ports then Power; Left returns to Ports. Space activates it; Tab then enters its text-first panel. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
05

One Tab entry can move without disabling the other tabs

One implementation uses what APG calls roving tabindex. Of the tab elements, one has tabindex zero and the others have minus one. Directional movement changes which tab has zero and explicitly moves focus there [3]. Minus one does not mean that a tab is disabled, hidden or unusable. It removes the ordinary sequential entry preference while allowing a suitable focus action to reach it. HTML documents platform and user-agent qualifications around those preferences [5].

There is a further detail when focus leaves. Suppose you explore as far as Power but do not activate it, so Overview remains selected. The tab pattern expects the active tab to be the entry target next time [4]. This implementation therefore restores the zero entry to Overview on exit, using APG's documented provision for choosing the next entry target [3]. Simply remembering the last arrow destination would give a different result. The selected panel, the currently focused tab and the tab prepared for later entry need deliberate coordination.

06

Choose when movement should also select content

Automatic activation is another documented tabs design. Moving focus to a tab also selects it and shows its panel. APG recommends that approach when panels can appear without noticeable delay; it warns that waiting for content on each movement can make navigation difficult [4]. The choice affects the experience of exploring labels before settling on a destination. It is not decided by whether the tab labels look attractive or whether a mouse click works.

Consider a separate, deliberately simple event count. Our imaginary application runs one selection-update handler each time the selected tab changes. Starting at Overview, two Rights change selection twice in the automatic version. The manual version changes it zero times during those arrows, then once when Enter activates Power. This counts specified application events, not network requests or measured seconds. Caching, preloading and the implementation can change the cost of an event. The comparison identifies what is coupled to movement before anyone makes a claim about speed.

07

A numbered Tab order does not repair a confusing page

Adding positive tabindex numbers can change sequential order, but that makes another ordering system to maintain. APG discourages using those values to rearrange the sequence, and HTML cautions that values other than zero and minus one are difficult to use correctly [3][5]. In a simple fictional group appearing as A, B, C, give A zero, B two and C one. Under the ordinary same-scope ordering, focus goes C, B, A. The displayed position has not explained that surprising route.

WCAG's Focus Order criterion asks whether the sequence preserves meaning and operation where order matters [2]. It does not require a single visual arrangement in every case, and it does not automatically forbid focus on static content. Independent sections can have more than one sensible order. The relevant question is what the user needs to understand and do next. Fixing the underlying grouping and sequence is usually clearer than assigning numbers to force one desktop layout, especially when a responsive layout later changes where those groups appear.

Positive tabindex creates another ordering to maintain. Original same-scope example under ordinary sequential processing. No embedded documents or shadow roots are involved.
Original same-scope example under ordinary sequential processing. No embedded documents or shadow roots are involved. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
08

Show where input will go, not only what remains selected

After focus enters the Ports panel, the Ports tab can remain visibly selected. If that is the only mark on the page, it does not tell a sighted keyboard user where focus went. APG says focus and selection should look distinct, and WCAG's Focus Visible criterion requires a mode of keyboard operation with a visible focus indicator [3][6]. The two visual signals can coexist because they report different information.

Removing an outline without providing another adequate indicator loses that location cue. HTML's guidance explicitly warns against using focus-management methods to hide an unwanted focus ring [5]. A screenshot of a selected tab alone cannot demonstrate the whole interaction. Follow the indicator as the user moves through the list, activates Ports, and enters its content. Other requirements can apply to the indicator's contrast and appearance [6], so merely drawing a border is not a complete assessment. Its practical job is to make the next point of interaction discoverable.

09

A correctly focused control can still sit behind an overlay

Visibility also depends on what covers the control. WCAG 2.2's Focus Not Obscured Minimum criterion addresses a focused component being entirely hidden by content created by the page author [7]. That is different from asking whether a focus outline exists. Its minimum condition allows partial obscuring; the stronger Enhanced criterion addresses any part being hidden. Neither distinction makes a partly covered control the preferred design.

Use an original flat-screen model measured in CSS pixels. The viewport runs from vertical position 0 to 800, and an opaque, full-width fixed footer covers 700 to 800. A 40-pixel-high control at 720–760 is completely covered. At 680–720, twenty pixels remain uncovered; at 660–700, all forty do. Those results describe only this simple overlap. The minimum criterion has separate notes for user-movable and user-opened content, which our fixed author-created footer is not [7]. Partial exposure here does not establish that the indicator, text or entire page is usable.

Receiving focus does not prevent an opaque footer from covering the control. Original CSS-pixel geometry: viewport y=0–800; full-width opaque footer y=700–800. Each control is 40 px high. No other covering content.
Original CSS-pixel geometry: viewport y=0–800; full-width opaque footer y=700–800. Each control is 40 px high. No other covering content. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
10

Keep a meaningful destination when the focused item disappears

Focus management becomes especially important when an action removes the current target. APG describes the need to keep focus visible and logical after closing or deleting content [3]. A program cannot keep directing interaction to an item that no longer exists and expect the user to understand what happened. The next destination should follow the operation and the surrounding task, rather than jumping to an unrelated place simply because it is convenient to select in code.

Consider a separate version of our guide that allows tabs to be deleted. If Power is both focused and selected and is the final tab in the row, this version deliberately moves to and activates Ports when Power is removed. That matches the preceding-tab fallback described in APG's optional deletion pattern [4]. If every tab can be removed, the interface needs a logical destination outside the empty list. Deletion is optional, so this is not a demand that every tabbed guide provide it. It shows why changing the available items also changes the focus-management problem.

11

A contained interaction still needs a keyboard way out

Reaching and using a component are incomplete if you cannot leave it. WCAG's No Keyboard Trap criterion requires a keyboard route away from a component entered by keyboard, with instructions when an unusual exit method is needed [8]. It does not say every component must leave on the same key. Escape is common in many environments, but the guidance does not define it as a universal answer for every control.

Our tab list leaves through Tab, entering the displayed panel. A separate modal dialog can intentionally keep ordinary navigation inside while it is open, provided the user has an understandable keyboard way to dismiss it [8]. In a fictional two-button dialog, activating a keyboard-reachable Close button can end that contained interaction. The review question is whether a usable exit exists, not whether all focus containment is automatically wrong. Avoid swallowing unrelated keys: the documented horizontal tabs pattern, for example, leaves Up and Down available for scrolling [4]. An escape route and predictable ordinary navigation solve related but distinct problems.

12

Record the task and the state after each key

A useful review begins with a short task: enter the guide, explore Power without selecting it, activate Ports, read its panel, and continue beyond the component. Record the starting selection and target, each key, the resulting target, the selected tab and the displayed panel. Then note whether the focus indicator is visible and whether an overlay covers the control [3][4][6][7]. This makes the observation much more useful than a statement that Tab seems to work.

Keep the browser, operating environment, keyboard settings and any assistive technology with a real observation, because focus preferences and command routing can vary [1][5]. Our trace is an expectation derived from a stated design; it is not a substitute for testing that design. Check the exit and any removal or return path as well [8]. The central lesson is practical: reaching a control, moving within a group, choosing an action and seeing the target are separate parts of successful keyboard use. Giving each part an explicit expectation makes problems easier to locate and repairs easier to verify.

Keep the transition record with the observed environment. A review sequence for the fictional guide; it is not a completed browser audit or a claim of whole-site conformance.
A review sequence for the fictional guide; it is not a completed browser audit or a claim of whole-site conformance. · Ameer Journal — original explanatory diagramOriginal editorial illustration; no third-party artwork reused.
Follow the evidence

Sources & further reading

Explore the references behind this guide. External pages may change after our review.

  1. Understanding Success Criterion 2.1.1: Keyboard | WAI | W3C
    W3C · Accessed 7 Nov 2026
  2. Understanding Success Criterion 2.4.3: Focus Order | WAI | W3C
    W3C · Accessed 7 Nov 2026
  3. Developing a Keyboard Interface | APG | WAI | W3C
    W3C · Accessed 7 Nov 2026
  4. Tabs Pattern | APG | WAI | W3C
    W3C · Accessed 7 Nov 2026
  5. HTML Standard, Edition for Web Developers
    WHATWG · Accessed 7 Nov 2026
  6. Understanding Success Criterion 2.4.7: Focus Visible | WAI | W3C
    W3C · Accessed 7 Nov 2026
  7. Understanding Success Criterion 2.4.11: Focus Not Obscured (Minimum) | WAI | W3C
    W3C · Accessed 7 Nov 2026
  8. Understanding Success Criterion 2.1.2: No Keyboard Trap | WAI | W3C
    W3C · Accessed 7 Nov 2026

Article updated 7 Nov 2026.

Found something we should revisit?

Good explanations get better with thoughtful feedback.

Suggest a correction