Key and code mean different things
Key names reflect your keyboard layout. Code identifies the physical key position reported by the browser. Location distinguishes left, right and keypad keys when the event provides that information.
Worked example
Pressing the left Shift key reports key Shift, code ShiftLeft and location 1. Release removes it from the held-key list.
Before you rely on the result
Browser and operating-system shortcuts may never reach this page. A missing event does not prove a broken key. Software keyboards may report different events from physical keyboards.
Cite this page
ToolOctopus. “Keyboard tester.” Updated . https://tooloctopus.com/keyboard-tester.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.