Skip to main content

Keyboard Accessibility: What Automated Scans Miss

Here is a test that takes five minutes, needs no software, and catches problems that expensive tools sail right past: put your mouse away and try to use your own website with the Tabkey alone. If you get stuck, so does every keyboard user, every screen reader user, and everyone with a motor disability who can't hold a mouse steady. Keyboard access is the single most important thing you can check by hand — and the thing automated scanners are worst at catching.

Why the Keyboard Is the Real Test

A huge range of people never touch a mouse. Screen reader users navigate entirely by keyboard. People with tremors, repetitive strain injuries, or limited fine motor control rely on the Tab key, switch devices, or voice control that maps to keyboard commands. Even power users on a laptop often keep their hands on the keys. WCAG treats this as non-negotiable: success criterion 2.1.1 Keyboard requires that all functionality be operable through a keyboard, full stop.

The reason keyboard access is such a good proxy for overall accessibility is that it forces your interface to expose its structure honestly. A button that only responds to a click, a menu that only opens on hover, a modal that traps focus — these break the moment you remove the mouse. If your site works with a keyboard, it is usually well on its way to working with assistive technology generally. For the broader legal context on why this is enforceable, see our ADA website compliance guide.

Why Your Scanner Won't Save You Here

Let's be honest about tooling, including ours. Automated accessibility scanners reliably detect roughly 30–40% of WCAG success criteria. They are excellent at the mechanical stuff — missing alt attributes, low color contrast, empty form labels, invalid ARIA — because those are statically visible in the markup. CompliaScan runs on axe-core, the same open-source engine that powers most reputable checkers, and it will flag those issues fast and accurately.

But “can I actually tab to this menu and operate it?” is a question about behavior over time, not a snapshot of the DOM. Whether focus visibly moves, whether the order makes sense, whether a modal releases you when you close it — no static scan can fully judge that. Anyone who tells you their tool makes you “compliant” or “lawsuit-proof” with one click is selling you something. The scanner narrows the search; your keyboard finishes the job. We break down that division of labor in our accessibility audit guide.

Where Keyboard Access Usually Breaks

The same handful of patterns account for the overwhelming majority of keyboard failures we see across scans and manual reviews:

  • Clickable <div>s and <span>s. A styled div with an onClick handler looks like a button but isn't focusable and can't be triggered by Enter or Space. Use a real <button> or <a>.
  • Hover-only menus. Dropdowns that open on mouse hover but never on focus leave keyboard users unable to reach nested links at all.
  • Invisible focus indicators. A designer removed the “ugly” outline with outline: none and never replaced it. Now you can tab, but you can't see where you are.
  • Focus traps. A modal, cookie banner, or carousel that grabs focus and never lets go — the keyboard user is stuck until they reload the page.
  • Illogical tab order. Positive tabindex values or DOM elements shuffled around with CSS send focus jumping around the page in an order that makes no sense.
  • No “skip to content” link. Without one, keyboard users have to tab through your entire nav on every single page before they reach the actual content.

Want to know where your site stands?

Run a free scan →

The Five-Minute Keyboard Test

You don't need a lab or a screen reader to start. Open your most important page, click once in the address bar to move focus off the page, and then run this:

  1. Tab forward through the whole page. Every link, button, and form field should receive focus, in a logical order, with a clearly visible indicator at each stop. Use Shift+Tab to go backward and confirm it's symmetrical.
  2. Operate everything with Enter and Space. Buttons should fire, links should follow, menus should open. If something only works when clicked, it fails 2.1.1.
  3. Escape out of overlays. Open a modal or dropdown, then press Esc and Tab. Focus should return to where you were, not vanish or loop forever inside the closed element.
  4. Watch for the disappearing cursor. Any moment where you lose track of where focus is means the indicator failed — a real barrier, even if the element is technically reachable.

Pair that manual pass with a scan to catch the mechanical issues you can't see by tabbing. Run the page through our free WCAG checker or the ADA compliance checker, then keep the printable WCAG checklist open so nothing slips through the manual half.

Fixing Focus Without Breaking Your Design

The most common objection is aesthetic: “that default outline is ugly.” Fair — but the answer is to design a better indicator, not to delete it. WCAG 2.2 actually raised the bar here with success criterion 2.4.11 Focus Not Obscured, so a hidden focus state is now more clearly a failure, not a gray area. Our WCAG 2.2 guide covers the new criteria in detail. A few durable fixes:

  • Replace outline: none with a custom, high-contrast :focus-visible style — a bold ring or underline that stands out against your background.
  • Make sure the focus indicator itself meets contrast requirements against adjacent colors; a pale ring on a pale button is barely better than none.
  • Never use positive tabindex values. Let the DOM order drive focus order, and fix the order by fixing the markup.
  • Add a “skip to main content” link as the first focusable element, visible on focus.

If you're unsure how to rewrite a specific component, CompliaScan can generate targeted fix suggestions from the scan results. Those suggestions are bring-your-own-key — they run on your own OpenAI, Anthropic, or Gemini API key, with no markup from us — so you get code-level guidance without paying a per-suggestion tax.

Overlays Won't Fix Your Keyboard Problems

You will see widgets that claim to add keyboard navigation automatically. Be skeptical. A JavaScript layer bolted on top of broken markup can't reliably teach a <div> to behave like a button, restore a sane tab order, or untangle a focus trap without introducing new ones. Testers who file accessibility complaints often specifically look for these tools, and the underlying page still fails. If you're weighing one, read our honest comparisons of accessiBe and UserWay first. Real keyboard access comes from real HTML, not a paint job.

And because keyboard behavior regresses easily — a new component, a theme update, a third-party script — it's worth re-checking on a schedule rather than once. That's the whole point of continuous monitoring: catch the regression the week it ships, not the day a demand letter arrives.

See your lawsuit risk in 30 seconds

Over 5,100 ADA website lawsuits were filed in 2025 — a 20% year-over-year increase. Scan your site now and know exactly how exposed you are before a plaintiff's firm runs the same check.

Free scan · No signup required · Results in ~30 seconds

Keep reading

All articles →

Related Resources