Select option groupings (select-optgroup)

Related <option> elements in a <select> must be grouped with a labeled <optgroup>; do not simulate grouping with disabled/empty options, punctuation, or other visual separators.


Visual separators instead of optgroup:

The list below uses non-selectable “section headers” made from disabled options and punctuation instead of semantic <optgroup> groupings.


Note: Impossible to automatically test/detect. A human tester or AI is needed to determine when related choices should be grouped and verify that grouping is done with <optgroup>.

axe detected: none  |  QualWeb detected: none