Keyboard Testing for Digital Content


A step-by-step guide to checking keyboard access and focus order, aligned to WCAG 2.2 Level A and AA.
Automated checkers and AI tools can quickly find some accessibility issues. They cannot tell you whether a learner can move through your course with a keyboard, whether the order makes sense, or whether the learner can see where they are on the screen. Someone has to set the mouse aside and try it.
Many learners navigate with a keyboard or with tools that work like one. That includes people with motor disabilities, people who use screen readers, people who use switch devices or voice control, and people who prefer the keyboard. If an interaction only works with a mouse, these learners cannot finish the course.
These are the standard keys learners expect. If a control does not respond to its standard keys, note it as an issue.
Work through these steps on each page or slide. Each step lists the WCAG 2.2 success criteria it checks.
What to do: Load the page and press Tab once. Look for a "Skip to main content" link or something similar. Press Enter on it, then press Tab again.
It passes when: A skip link or another way to bypass repeated menus (such as headings or landmarks) is available. After you use it, the next Tab lands in the main content. This matters most when the course player or LMS repeats a menu on every page.
WCAG: 2.4.1 Bypass Blocks (A)
What to do: Press Tab to move forward through every interactive element on the page: links, buttons, form fields, tabs, accordions, hotspots, media controls, and next and previous buttons. Press Shift + Tab to move backward.
It passes when: You can reach every element with the keyboard that you can click with a mouse, and nothing is skipped.
WCAG: 2.1.1 Keyboard (A)
What to do: Keep your eyes on the screen as you Tab. At each stop, ask yourself whether you can tell exactly where you are.
It passes when: Every focused element shows a visible outline, highlight, or other change. The indicator stands out against the background, with at least 3:1 contrast against adjacent colors, and the course styling does not remove or hide it.
WCAG: 2.4.7 Focus Visible (AA); 1.4.11 Non-text Contrast (AA)
What to do: Compare where focus goes with how the page reads visually. On a slide, watch for focus that jumps between columns, skips the main content, starts on the player controls, or lands on items in an order that does not match the instructions.
It passes when: Focus moves in a logical order that follows the visual and reading order, usually left to right and top to bottom. Related items stay together, for example, a question, then its answer choices, then Submit. Content that appears after an action, such as feedback, comes next in the order.
WCAG: 2.4.3 Focus Order (A); 1.3.2 Meaningful Sequence (A)
What to do: Watch for focused items that end up behind a sticky header, a course player bar, a cookie banner, a chat widget, or an open popup.
It passes when: At least part of the focused element is visible on the screen and not covered by other content the author created.
WCAG: 2.4.11 Focus Not Obscured (Minimum) (AA)
What to do: Note any time focus lands on plain text, an image, a decorative shape, or an empty area that does nothing when you press Enter or Space.
It passes when: Only interactive elements receive keyboard focus. Extra focus slows down slow learners and makes the order confusing. Note them as a usability issue, or under 2.4.3 if they disrupt the meaning or operation of the page.
WCAG: Best practice; can affect 2.4.3 Focus Order (A)
What to do: Use the keyboard commands listed above. Activate every button, open every accordion and tab, select answer choices, play and pause media, move sliders, and submit every question.
It passes when: Each control works with the standard keys for its type. Buttons respond to both Enter and Space, and radio buttons move with the arrow keys. The result is the same as with a mouse.
WCAG: 2.1.1 Keyboard (A); 4.1.2 Name, Role, Value (A)
What to do: Try to complete every interaction that was designed for a mouse, including drag-and-drop, click-and-reveal, hotspots, sorting, matching, sliders, and games.
It passes when: The learner can complete the full interaction with the keyboard alone. Otherwise, a keyboard-accessible alternative is provided that covers the same content and earns the same credit.
WCAG: 2.1.1 Keyboard (A)
What to do: Tab into every component and try to Tab back out. Pay close attention to embedded video players, iframes, web objects, text fields, and third-party widgets.
It passes when: You can always move focus away using Tab, Shift + Tab, Esc, or the arrow keys. If a component needs a different key to exit, the learner is told what that key is.
WCAG: 2.1.2 No Keyboard Trap (A)
What to do: Open each popup or layer with the keyboard and Tab through it. Close it once with Esc and once with its Close button.
It passes when: Focus moves into the popup when it opens. For modal dialogs, focus stays inside while the dialog is open. Both Esc and the Close button close it. When it closes, focus returns to the button that opened it, not to the top of the page.
WCAG: 2.4.3 Focus Order (A); 2.1.2 No Keyboard Trap (A)
What to do: Tab to any element that shows extra content on hover, such as a tooltip, glossary term, or menu.
It passes when: The same content appears when the element receives keyboard focus. It stays visible until you move focus away or dismiss it, and you can dismiss it with Esc without moving focus.
WCAG: 1.4.13 Content on Hover or Focus (AA)
What to do: As you Tab onto elements and change form fields, radio buttons, and dropdowns, watch for anything that happens on its own.
It passes when: Moving focus to an element does not open a new window, submit a form, move to a new slide, or start media. Selecting an option does not change the page unless the learner was told it would.
WCAG: 3.2.1 On Focus (A); 3.2.2 On Input (A)
What to do: With focus on the page and not in a text field, press a few letter and number keys.
It passes when: Nothing happens. If something does, the single-key shortcut can be turned off or remapped, or it works only when its control has focus. Learners who use voice control can trigger these shortcuts by accident.
WCAG: 2.1.4 Character Key Shortcuts (A)
What to do: Look for timed quizzes, slides that advance on their own, carousels, and animations, and try to reach their controls with the keyboard.
It passes when: Time limits can be turned off, adjusted, or extended with a simple keyboard action. Anything that moves, blinks, or scrolls for more than five seconds has a pause or stop control that the learner can reach and use with the keyboard.
WCAG: 2.2.1 Timing Adjustable (A); 2.2.2 Pause, Stop, Hide (A)
Keyboard testing covers these Level A and AA success criteria:
If your organization targets Level AAA, keyboard testing also covers 2.1.3 Keyboard (No Exception), 2.4.12 Focus Not Obscured (Enhanced), and 2.4.13 Focus Appearance.
For each issue, record:
Example: On Lesson 2, slide 4, I tabbed to the drag-and-drop activity. I could not pick up or move items with the keyboard, and no alternative was provided. This fails 2.1.1 Keyboard (A), and the severity is Critical.
Need this in a Word Document? Download Keyboard Testing for Online Courses and edit as needed.
Subscribe to our newsletter and get the next one in your inbox.
Ready to take the next step?
Contact us to request a personalized consultation today!
Saunderstown, Rhode Island
All form fields are required and must be completed with valid entries before the form can be submitted.