Test Every Key in Your Browser
- Open the keyboard test. The test area is ready to type in as soon as the page loads.
- Pick the layout that matches your keys. Use Mac for a MacBook, 75% for a laptop with a function row and no number pad, and Full if it has a number pad.
- Press every key once, row by row. Each key lights up as it reaches the page.
- Check the counter. It shows how many keys of the layout have sent a press or release.
What the result tells you:
- A key lights up: it works, even if one app ignores it. Check that app's own key settings.
- A key stays gray after a firm press: it isn't reaching the computer. Try it in another app to confirm.
- Most keys stay gray: see how to fix a keyboard that isn't working.
The test runs in the page, and nothing you type is uploaded.
Test the Function Row With Fn and Fn Lock
On many laptops, F1 to F12 change the volume, brightness, or display first. You press Fn to get the F key itself.
- Dell: on the Dell 16 Plus, F1 to F12 are multimedia keys by default. Fn + Esc toggles the Fn key lock, and Function Key Behavior in the BIOS sets the default.
- Lenovo: Fn + Esc turns FnLock on and off. The light on the Esc key shows whether it is on.
- Mac: hold the Fn or Globe key and press the function key. To make this the default, open System Settings > Keyboard > Keyboard Shortcuts > Function Keys, and turn on "Use F1, F2, etc. keys as standard function keys".
So press F1 to F12 in the test. A key that changes the volume or brightness works, even though its F key stays gray. Then hold Fn, or turn on Fn Lock, and press the row again to light each F key.
Keys a Web Page Can't See
MDN says the Fn and FnLock keys are often handled in hardware, so they send no event a page can read. Where a layout draws an Fn key, the test never counts it.
Some laptops have no Scroll Lock or Pause key and reach them through Fn instead. On the Dell 16 Plus, Fn + S toggles Scroll Lock and Fn + B is Pause or Break. If your laptop's manual lists such a combination, press it in the test.
The Windows key and some shortcuts are handled by the system first. If one of those keys stays gray, try it in another app before you blame the keyboard.
If Keys Don't Work
- Connect an external keyboard. Dell says that if it works, the problem is the laptop's own keyboard.
- Keep typing with the On-Screen Keyboard while you sort it out. In Windows 11, go to Start > Settings > Accessibility > Keyboard and turn on On-Screen Keyboard.
- On a Dell, run the keyboard test in SupportAssist too.
- After a spill, Dell says to turn the laptop off at once, tilt it to drain the liquid, and let it dry for 24–48 hours.
If keys still fail, contact the laptop maker about repair under warranty before you remove any keys yourself.
Other faults have their own guides: a keyboard that types double letters, and keys that drop when pressed together.