The outline that disappeared

One thin line decides whether a product can be used without a mouse. In 2025 the Web Almanac measured 16.2 million sites from its July dataset and found that 67% explicitly remove the browser's default focus outline — up 14% from 2024 (Web Almanac 2025, HTTP Archive, published 2026-01). About a quarter of pages reach for :focus-visible instead, 25% on desktop and 24% on mobile.

That 67% is often quoted as proof the web broke keyboard navigation. It is not. The Almanac detects a CSS rule that strips the default outline; it cannot tell whether a custom indicator replaced it. A site that removes the default and draws a clear high-contrast ring is compliant. A site that removes the default and draws nothing has erased the only cursor a keyboard user owns. One number, two opposite outcomes — which is why the figure needs reading carefully.

What the keyboard criteria actually guarantee

WCAG 2.1.1 Keyboard sits at Level A and says every function must be operable through a keyboard interface, with no particular keystroke timing except where the input itself is path-dependent. W3C explicitly treats voice input, sip-and-puff, on-screen keyboards and scanning software as keyboard emulators, so the criterion reaches well beyond a physical keyboard (W3C, WCAG 2.2 Understanding: Keyboard).

2.4.7 Focus Visible is Level AA, not A — a distinction that gets blurred constantly. It requires a visible focus mode for keyboard-operable UI and says the indicator must not be time-limited. WCAG 2.2 then added 2.4.11 Focus Not Obscured (Minimum) at AA, which stops a focused component from being entirely hidden behind sticky headers or cookie banners. 2.4.13 Focus Appearance is AAA: an indicator whose area is at least as large as the perimeter of a 2 CSS px line, plus a 3:1 contrast between focused and unfocused pixels. That 2px/3:1 pair belongs to AAA and is not an AA legal requirement; the AA-side color rule is 1.4.11, which asks for 3:1 against adjacent colors.

The focus rules at a glance

CriterionLevelWhat it securesWhat it leaves open
2.1.1 KeyboardAEvery function reachable by keyboardWhere focus lands or how it looks
2.4.7 Focus VisibleAAA visible focus mode existsSize and contrast of the indicator
2.4.11 Focus Not Obscured (Minimum)AAFocus not fully hidden by sticky bars or bannersPartial overlap
1.4.11 Non-text ContrastAA3:1 against adjacent colorsFocus order and layout
2.4.13 Focus AppearanceAAA2 CSS px perimeter area, 3:1 focus/unfocusNot an AA legal threshold

Skip links and the bypass myth

WebAIM Million 2026 found that only 17.1% of homepages include a skip link, and roughly one in ten of those is broken. The same scan found 41.8% of pages skip heading levels and 18.1% carry multiple h1 elements (WebAIM Million 2026). These are auto-detected homepages, so they describe a pattern rather than a verdict on any single product.

The tempting conclusion is that adding a skip link satisfies 2.4.1 Bypass Blocks. It is one sufficient technique, not the only route to conformance; landmarks and a sound heading structure can do the job. Treating 17.1% as a pass-or-fail target mistakes a common implementation for the requirement itself.

Where switch access hits a ceiling

Switch access is sequential scanning: one switch cycles a highlight through focusable elements, a second press selects. It is used by people with cerebral palsy, ALS, cervical spinal cord injury, muscular dystrophy and severe multiple-sclerosis tremor, through iOS Switch Control and Android Switch Access. No primary prevalence survey sits behind this — the usage picture is second-hand, and the population figures often attached to it need the same label. WHO puts 1.3 billion people (16%) with significant disability and over 2.5 billion needing at least one assistive product, projected to reach 3.5 billion by 2050 — all second-hand from a WHO fact sheet. US CDC figures of 12.2% of adults with mobility disability and 13.9% with cognitive disability are second-hand too. These are population-level disability numbers, not counts of keyboard or switch users, and converting them into a switch-user market would be fabrication.

There is a quieter trap in WCAG 2.1.2 No Keyboard Trap. It requires that focus be able to escape a component using standard key combinations. A single-switch user scanning linearly may never reach the exit combination, so meeting 2.1.2 does not guarantee switch usability.

The tradeoff nobody likes

Custom focus indicators are more work than leaving the default, and they are easy to get subtly wrong — too faint on one theme, clipped by an overflow container, invisible against a promotional banner. Removing the default outline is often an aesthetic decision, and the aesthetic case is real: browser rings clash with careful visual design. The honest cost is that every custom ring must then be tested across themes, states and zoom levels, and most teams skip that test. The default is ugly but reliable; the custom ring is sleek until it is not. A shared runtime can carry that testing burden once instead of repeating it product by product.

Where the focus model belongs

An open catalog of mini-programs inherits whatever focus model the runtime provides. Get the order right once, keep indicators visible and unobscured, and thousands of embedded programs benefit without each team relearning the same criteria. That is the concrete case for putting keyboard behavior in the shared layer: it turns a per-product chore into infrastructure. CrossMiniApp is one such runtime and catalog, where focus order, a visible indicator and an unobscured view are properties of the host surface rather than afterthoughts in each submission. For teams shipping into overseas super-apps, the focus ring is a small piece of the platform that quietly decides who gets to use the product at all.

Sources