Push buttons and default action

GUI95

Widget index / Basic controls · Download this HTML

Ready — try the example.

States and behavior

Normal, pressed, focused, disabled, and default action. The default outline is separate from keyboard focus.

Keyboard

Tab moves focus; Space activates a focused button. Enter in the name field submits the form.

Scope and adaptation

A default action must be safe in context. Browser form submission supplies Enter behavior; this is not a global Enter shortcut.

Sources

Microsoft preliminary guide (1995), chapters 7–8 · Modern browser accessibility pattern

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.