A <fieldset> with a <legend>, for grouping controls.
<fieldset style="width: 260px">
<legend>Sound</legend>
<div class="field-row"><label><input type="checkbox" checked> Play system alerts</label></div>
</fieldset>The four Mac OS eras side by side
- Selectors
fieldsetlegend- Tokens
--clio-group-border--clio-group-shadow- Accessibility
- A fieldset's legend names the group for screen readers.
Evidence (8)
| Era | Value | Status | Source |
|---|---|---|---|
| System 7 | Native group box: a 1px grey line with the legend on it; the original alternates #777 and #888, drawn #777 here | Measured | clio.css capture, System 7.5.3 in Infinite Mac (npm run capture:system7), frames general-controls and numbersSystem 7.5.3 control panels |
| System 6 | System 6 had no group box; clio.css draws a 1px ink frame with the legend on paper | Adapted | clio.cssControl Panel divides its panes with plain 1px rules (clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frame control-panel) |
| Platinum | Etched: #888 line with a white line inside and below | Measured | apps/desktop/styles/65-appearance-themes.css:909 (P20)Mac OS 9 native group box |
| Drawing Board | Group boxes: a 1px #777 line (#888 on the bottom and right edge), no bevel | Measured | clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame general-controlsDesktop group |
| Platinum | Secondary group box (fieldset.secondary): one #888 line, no light | Measured | clio.css capture, Mac OS 9.0 in Infinite Mac (frames in .fidelity/hig/platinum9), frame sound (Settings for selected device)— |
| Classic eras | A check box or pop-up menu can title a group box from inside the legend | Measured | clio.css capture, Mac OS 9.0 in Infinite Mac (frames in .fidelity/platinum9), frame date-time (Use a Network Time Server)— |
| NeXTSTEP | Box: a #555555 outline with a white one drawn over it a pixel down and right | Measured | clio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame prefsapp-moved (Preferences, Mouse), the Menu Button box)fidelity nx-box-corner |
| NeXTSTEP | The box's title centred across its top line, the lines broken round it | Inferred | clio.css capture, NeXTStep 3.0 in Infinite Mac (frames in .fidelity/ns30), frame prefsapp-moved (Preferences, Mouse))the title is Helvetica and is not compared |