Widget index / Basic controls · Download this HTML
The drawn up and down buttons step the value and stop at 1 and 20. Type 0 or 21 to try validation.
Ready — try the example.
States and behavior
Editable, up and down buttons, minimum/maximum and invalid typed values.
Keyboard
Up/Down in the field changes one step; typing and native text selection work. The up-down buttons are not Tab stops and leave focus in the field. Tab exits.
Scope and adaptation
A native number input keeps the browser’s text editing rules. The page draws the up-down buttons beside the same labeled field; they step within its bounds, and typing 0 or 21 still shows validation.
Sources
Microsoft preliminary guide (1995), chapters 7–8 · Modern browser accessibility pattern
Original implementation; the page uses the shared GUI95 stylesheet with its 11px Tahoma stack. The 1995 source is preliminary, not a final product specification. Test the target browser and native host before shipping.