How to test a keyboard
A keyboard test is only useful if it covers every key and tells you which ones you missed. Walking the board with a tester that marks each key takes about a minute, and it catches the two things that actually go wrong: a key that never registers, and a key that registers something else.
The one-minute method
- Open the keyboard test and click once on the page so it has focus.
- Start at the top left and work across each row, pressing every key once. Use the counter as your checklist.
- When you reach the end, read the untested list. Those are the keys you skipped, not necessarily the keys that are broken, so press them too.
- Note any key that did nothing at all. That is a real finding; everything else is working.
Reading the result
- Key lights up, right character: fine.
- Key lights up, wrong character: a layout or language setting problem, not hardware. Check the keyboard language in your system settings.
- Nothing at all: the key is either dead, or the browser never receives it. Print Screen and laptop function keys are usually the second case.
- Key stays lit after release: the switch is stuck. Press it a few times; if it stays stuck, the keyboard needs cleaning or repair.
- One key repeats by itself: a failing switch or debris under the cap, and the usual first sign of a keyboard on its way out.
Testing a laptop keyboard
Laptop keyboards fail in two patterns. Either a single key dies, which is almost always that key's switch or the membrane under it, or a whole block of keys dies at once, which is usually the ribbon cable that connects the keyboard to the main board. Testing the whole board tells you which pattern you have, and that decides whether it is a cleaning job or a repair shop.
Test with the laptop on mains power if you can. A very low battery can make some keyboards behave oddly, and you do not want to diagnose a power problem as a keyboard problem.
Testing a mechanical keyboard
Mechanical keyboards are easier to diagnose because each key has its own switch. If one key fails, you can often swap that switch, or the keycap, with a known-good one to confirm. If several keys in a diagonal line fail together, look for a spill or a damaged PCB trace rather than a switch.
Testing before you buy
If a shop will let you plug a keyboard in, run the full test on the spot. Pay particular attention to the keys people never use: right Shift, the numpad, Pause, the Windows keys. Those are the ones that ship broken because nobody checks them.
What a browser test cannot tell you
It cannot feel the switch, measure key travel, or detect chatter that only appears when you type fast for ten minutes. It also cannot test whether a keyboard's firmware sends multiple key presses correctly in a game. For those, use a typing test and the software you actually play or work in.