可捲動的列表,可以選取一列或多列,和「打開」對話框裡的一樣。
- Apple DVD Player
- Apple Video Player
- AppleCD Audio Player
- QuickTime
- Security
- SimpleText
<ul class="listbox" role="listbox" aria-label="Documents" style="width: 220px; height: 82px">
<li role="option" aria-selected="true">Apple DVD Player</li>
<li role="option">Apple Video Player</li>
<li role="option">AppleCD Audio Player</li>
<li role="option">QuickTime</li>
<li role="option">Security</li>
<li role="option">SimpleText</li>
</ul>Mac OS 四個年代並排對照
- 選擇器
.listbox[role=listbox][role=option][aria-selected=true].selected- Token
--clio-list-bg--clio-list-border--clio-list-shadow--clio-list-row--clio-selection-bg--clio-selection-fg- 無障礙
- 用 role=listbox 和 role=option,並加 aria-selected。焦點的移動由你的腳本來做(roving tabindex)。
證據(6)
| 年代 | 數值 | 狀態 | 來源 |
|---|---|---|---|
| System 7 | As System 6: a selected row inverts across the list | 推斷 | seen in the Keyboard control panel during capture; the Color control panel's highlight colour is Black & White (System 7.5.3 in Infinite Mac); the row itself not pixel-checkedSystem 7.5.3 |
| System 6 | White list, 1px ink frame, 16px rows; a selected row inverts across the whole list width | 實測 | clio.css capture, System 6.0.8 in Infinite Mac (npm run capture:system6), frames save-dialog and list-selected (Standard File)System 6.0.8 TeachText Save As |
| Platinum | Selection is lavender #ccccff with black text | 實測 | apps/desktop/styles/65-appearance-themes.css:128GUIdebook Mac OS 9.0 Open dialog (open-list-scrollbar specimen) |
| Platinum | Rows carry no divider | 實測 | apps/desktop/styles/65-appearance-themes.css:860 (P10)Mac OS 9 native list capture 21 |
| Drawing Board | List boxes: a 2px olive #9c9c63 line, 1px of whatever is behind inside it (the pane's paper), white rows, the chosen row #ccf with black text | 實測 | clio.css capture, Mac OS 8.5 with the 8.5b6 Drawing Board theme in Infinite Mac (npm run capture:drawingboard), frame desktop-tabpattern list, lower-left corner |
| NeXTSTEP | Lists: white, 1px black frame, 16px rows; a selected row is white on a light-grey cell in a browser, light grey in a plain list | 推斷 | AI System 6 69-nextstep-appearance.cssnot captured |