Open the keyboard test on a laptop or desktop and press every key once. Each key that works turns green on the on-screen layout and the "Keys tested" counter goes up by one. A key that stays dark after a firm press is the one to chase. The rest of this guide helps you tell a broken key from a setting.
Nothing you press is typed or sent anywhere. The page only reads which key the browser reports and paints the matching cap. It also stops Tab, Space, the arrows and the function keys from doing their usual job, so the page doesn't scroll away mid-test.
A full pass lights 78 caps and the counter stops at 74, because each left and right pair (Shift, Ctrl, Alt, Win) shares one entry.
The layout is a US QWERTY board without a number pad. Here's what's on it, counted from the page itself.
| Row on the test layout | Keys | Count |
|---|---|---|
| Function row | Esc, F1 to F12 | 13 |
| Number row | Backtick, 1 to 0, minus, equals, Backspace | 14 |
| Top letter row | Tab, Q to P, both brackets, backslash | 14 |
| Home row | Caps Lock, A to L, semicolon, apostrophe, Enter | 13 |
| Bottom letter row | Shift, Z to M, comma, period, slash, Shift | 12 |
| Modifier row | Ctrl, Win, Alt, Space, Alt, Win, Menu, Ctrl | 8 |
| Arrows | Left, Up, Down, Right | 4 |
| Total | 78 caps, 74 on the counter | 78 |
Some keys aren't on the layout at all: Delete, Insert, Home, End, Page Up, Page Down, Print Screen, Scroll Lock, Pause and Fn. Test those in a document instead, such as the online notepad.
Three more things to know before you call a key dead:
The test follows your active keyboard layout, not the printing on the caps. MDN says the reported key value reflects "the keyboard locale and layout", so on a French AZERTY board the key where US keyboards have Q lights the A cap.
Decide first whether it's hardware or software. The quickest split is a second keyboard: plug one in and press the same key. If it lights, your computer and browser are fine and the first keyboard is at fault.
| What you see | Likely cause | What to check |
|---|---|---|
| Key never lights, here or in any other app | The key itself, or its connection | Plug in a second keyboard. If that one works, the first has a hardware fault |
| Quick taps are ignored, slow presses work | Filter keys on Windows, or Slow Keys on a Mac | Windows: Settings > Accessibility > Keyboard. Mac: System Settings > Accessibility > Keyboard |
| Shift, Ctrl or Alt seems to stay held | Sticky keys is on, or the key is physically stuck | Same Accessibility > Keyboard screens. Then press and release the key a few times |
Two Windows settings can make a healthy keyboard look faulty. Microsoft describes Filter keys as a switch that sets "the sensitivity of the keyboard so it can ignore brief or repeated keystrokes", so fast taps can vanish. Sticky keys lets you press a combination like Ctrl+S one key at a time, which feels like a modifier that won't let go. Both are under Start > Settings > Accessibility > Keyboard on Windows 11.
Macs have the same pair. Apple's Mac Help lists Sticky Keys and Slow Keys under Apple menu > System Settings > Accessibility > Keyboard. We took those Apple steps from search excerpts of Apple's help pages, because the pages themselves wouldn't load for us today.
Until it's repaired, you can type the missing letter with the on-screen keyboard. On Windows 11 that's the On-Screen Keyboard toggle on the same Accessibility > Keyboard screen, or Windows logo key + Ctrl + O.
Rollover is how many keys a keyboard can report at once. A two-key rollover board reliably detects only two keys held together. An n-key rollover (NKRO) board detects every key no matter how many are down. Ghosting is the old failure where three held keys make a fourth, unpressed key appear. Modern keyboards block the third key instead.
USB adds a limit of its own. The USB HID specification defines a simple "boot" keyboard report, eight bytes long:
| Byte in the report | What it carries |
|---|---|
| 0 | Modifier keys, one bit each for eight keys |
| 1 | Reserved |
| 2 to 7 | Keycode 1 to Keycode 6: up to six ordinary keys held at that moment |
That's where "6-key rollover" comes from: six ordinary keys plus the modifiers. The specification also says a keyboard's normal report doesn't have to match the boot one, which leaves room for boards that go past six.
To check rollover with the keyboard test, press Reset test, hold a group of keys down together, let go, and count the green caps. Stick to letters, Space and Shift, because Ctrl, Alt and Win combinations trigger browser shortcuts and Ctrl+W closes the tab. If you held six and five lit, try a different six before blaming the keyboard. We haven't tested specific models.
A worn switch can send two presses for one tap. The test gives a hint: press a key that's already green and it flashes a lighter highlight for about a third of a second. Holding a character key down does the same, though, because the browser repeats the keystroke while it's held.
A text box is the better tool here. Open the notepad, tap the suspect key twenty times, and count the letters. You should get twenty. For keys that only misbehave at speed, a minute on the typing speed test shows doubled or dropped letters quickly.
If you're checking a used laptop, run the screen test next, then the microphone test. Our microphone guide covers the fixes.
Open the keyboard test, press Reset test, then press every key once without holding Shift. Working keys turn green. A full pass lights 78 key caps and the counter reads 74, because each left and right modifier pair counts once.
The layout has 78 key caps but 74 separate entries. Left and right Shift share one, and so do the two Ctrl, Alt and Win keys. Pressing either key of a pair lights both caps.
Not properly. The layout has no number pad or navigation block, so Delete, Home, End and Print Screen light nothing. Number pad digits light the matching number-row key when Num Lock is on, which is only a rough check.
Not always. Press it on its own without Shift, check that Filter keys or Slow Keys isn't switched on, and try the same key on a second keyboard. If that one works, the first keyboard has a hardware fault.
The keyboard can report six ordinary keys held at once, plus modifiers such as Shift and Ctrl. The figure comes from the basic USB keyboard report, which is eight bytes: one for modifiers, one reserved and six key codes.