Key chatter and double presses
Why a key types twice when you press once, what the tester counts as chatter, and what you can do about it.
What chatter is
You press a key once and the letter appears twice. Or you tap Backspace and it deletes one character too many. The key feels normal, the switch clicks once, but the computer sees two presses. That is chatter, a common way a switch wears out.
Why switches do it
A key switch is two metal contacts that touch when you press. Metal contacts do not close cleanly: they bounce against each other for a moment before settling, making and breaking the connection several times. Every keyboard controller knows this and waits a short time after the first contact before believing the key is really down. That wait is called debounce.
Chatter is what happens when the bounce lasts longer than the controller's wait. Worn contacts bounce longer; so do dirty or oxidised ones. The controller sees the key close, waits, sees it open and close again, and reports a second press. Some switches chatter from new because of a weak spring or a bad batch, but most develop it with age and use, and the keys you press most go first.
What the tester counts
The test does not need a separate step for chatter. It judges the same presses you made in step 1, when you pressed every key once.
A chatter is a press of a key that comes less than 30 ms after that key's own release. A worn switch reports one press as two, the second moments after the first ends; a person's fastest deliberate double tap is well above that gap. The system's auto-repeat presses, when you hold a key, do not count.
Each key is judged on its own. One chatter on a key is a warning. Two or more on the same key fail the test. The result card shows the shortest gap between a key's release and its next press, in milliseconds, and names the keys that chattered.
When the test cannot judge
The gaps are under 30 ms, so the test needs a clock that can tell them apart. When the run starts, the page measures the smallest step of the browser's clock. If the step is coarser than 10 ms, chatter is not judged, and the result says this browser's clock is too coarse to time key presses. Firefox with resist-fingerprinting on does this on purpose. Try another browser, or turn the setting off for the test.
The test also sees keys only after your operating system has them, so a chatter filtered out by the system's own accessibility settings, such as bounce keys, never reaches the page. If you suspect chatter but the test finds none, turn those settings off and run again.
How to read the result
- Pass: no key registered one press as two.
- Warning: a key registered one press as two, once. Watch for doubled letters on that key.
- Fail: a key registered presses twice, more than once. The switch is likely wearing out.
- Not tested: no key was pressed, or the browser's clock was too coarse.
A single chatter in a run is worth a second run. Press that key many more times, one press at a time, and see whether it repeats. A switch that chatters now and then is on its way out; one that chatters on every press is done.
What to do about it
Start with the cheap fixes. Unplug the keyboard and blow a short burst of air around the key; dust between the contacts is a common cause. Press the key firmly many times, which can clear light oxidation. If the keyboard has software with a debounce setting, raise it a little: a longer wait hides a longer bounce, at the cost of a slightly later press.
If it still chatters, the switch needs replacing. On a hot-swappable board, pull the switch and push in a new one. On a soldered board, a repair shop can do it, or you can remap the key if it is one you rarely use. A board that chatters on several keys at once, early in its life, is a warranty case.
Operating systems offer a workaround too: bounce keys or filter keys in the accessibility settings, which ignore a repeated press within a set time. It works, but it also slows down every deliberate double tap, so treat it as a stopgap.