Skip to content

WCAG 2.1.1: Keyboard

In European law this criterion is EN 301 549 clause 9.2.1.1 — chapter 9, the part of the harmonised standard that applies to websites under the European Accessibility Act.

How to test by hand

Automated checks find only some failures of this criterion. These steps cover the rest.

You need

  • Keyboard only
  • Browser developer tools

Steps

  1. Put the mouse aside. Starting from the address bar, press Tab and Shift+Tab through the whole page and use Enter, Space and arrow keys. Check that every link, button, form field, menu and widget can be reached and operated.
  2. Complete the page's key tasks by keyboard only: submit forms, open and close dialogs, expand menus, play media, use sliders and carousels. Note any task that only works with a mouse click, hover or touch gesture.
  3. For drag-and-drop, reordering, resizing or map features, look for a keyboard way to do the same thing, such as buttons, cut and paste, or form controls.
  4. Watch for controls that need fast repeated key presses or a key held down for a long time, and for elements that throw focus away as soon as they receive it.
  5. Find clickable items built from plain elements, such as a div or span acting as a link or button. Inspect them in developer tools and check they respond to the keyboard as well as the mouse.
Passes when
Every function on the page can be reached and carried out with the keyboard alone, without timed or held keystrokes.
Fails when
Some function, such as a menu, custom button, drag-and-drop action or media control, can only be operated with a mouse or touch.

Note: W3C exempts functions whose underlying input depends on the path of movement and not just the endpoints, such as freehand drawing or watercolour painting. Not every visible control must itself be focusable, provided keyboard users have a way to perform the same or comparable actions.

Steps are based on W3C’s Understanding WCAG 2.2: 2.1.1 Keyboard, which explains the intent, examples and exceptions in full. A manual check by you is a first look, not an audit: it does not make a site conformant and is not a substitute for testing by an experienced auditor with real assistive technology users. How we separate what a machine can and cannot check is explained in our methodology; for a full audit, see the directory of accessibility agencies.

What automation checks

3 axe-core rules test failures of this criterion. Our scanner runs them on every page it visits:

  • frame-focusable-content
  • scrollable-region-focusable
  • server-side-image-map

What automation cannot prove

An automated test finds some failures of WCAG 2.1.1; it cannot confirm the criterion is met. Whether the result actually works for people — in context, with real content — is a judgement call that needs a human auditor. Nothing on this page is a statement of conformance or legal advice. The full map of what our scanner covers and where it stops is on what our scanner checks.

Related guides

Does your site pass these checks?

Free instant scan. No signup required. WCAG 2.1.1 is one of the criteria it tests.

Scan website