Device guides

Compare Left and Right Option Events on Your Mac

·

Check the two Option keys separately when a shortcut works on one side. Their printed name is the same, while the browser can report a different physical code and location for each side.

Apple Keyboard Tester

Compare Option sides in one focused session

Open Apple Keyboard Tester with Apple compact ANSI selected. Start keyboard test. Hold left Option, press and release the A position, and then release Option. Finally press and release right Option by itself.

If the browser delivers each event, the three distinct records are AltLeft, KeyA and AltRight. Maximum held is 2. The A position can have a different key value under Option, so compare its code. Download apple-keyboard-report.json and inspect keys and recentEvents.

Compare Option sides in one focused session
Key usedExpected code when reportedLocation
Left OptionAltLeft1 (Left)
A positionKeyA0 (Standard)
Right OptionAltRight2 (Right)

Open Apple Keyboard Tester and compare the Option sidesW3C UI Events keyboard code values

Read what reached the browser from Fn or Globe

Press Fn or Globe by itself and then try a function key. A direct event turns on the Fn / Globe highlight and records its available fields. A positive Fn modifier flag on another event can provide evidence even if a separate press never arrives.

No Fn evidence received is the initial state. If it remains there, use the Mac keyboard settings and an app that handles the shortcut to make a separate check. macOS can handle Apple function keys or chords before the page receives them.

Apple keyboard shortcut and function-key behaviorW3C UI Events keyboard code values

Choose the extended diagram for a keypad

Choose Apple extended ANSI if you want to compare navigation positions and the numeric keypad. The Clear position uses the standard NumLock code on the Apple diagram. The keyboard diagram selector pauses capture and retains the session observations.

Press Tab or select Stop test when finished. Leaving the focused area clears the held highlights. The report keeps recent browser events and observed counts for this session.

Apple Magic Keyboard with Numeric Keypad documentationW3C UI Events keyboard code values

Common questions

Can I find my specific Apple keyboard model here?

Choose a representative compact or extended diagram yourself. Compare physical key positions and the events your browser returns.

Why did the A position produce a different key result with Option?

The key field reflects the OS input layout and active modifiers. Code identifies the reported position, such as KeyA.

Sources and example

Put it into practice.

Related guides