Widget index / Specialized controls ยท Download this HTML
Focus the field, then press Ctrl/Alt with a letter or function key. Escape cancels capture; Tab leaves. These shortcuts are recorded, not registered.
Ready โ try the example.
States and behavior
Recorded chord, empty value, canceled capture and invalid chord.
Keyboard
Modified keys record a shortcut; Tab always leaves; Escape reverts to the value at focus entry.
Scope and adaptation
A browser capture field, not the Windows hot-key common control. Reserved OS/browser chords may never reach the page. A consuming app must validate conflicts and registration failures.
Sources
Microsoft preliminary guide (1995), chapters 7โ8
Original implementation; system colors are represented by CSS variables. The default 13 px system-font stack is a readable browser adaptation. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.