- Allow technical aids to return a list to the user whose organization is clear to see; and that simplifies moving from one item on the list to another.
- Foster the accurate rendering of complex drop-down lists in every browser.
- Improve the accessibility of content for people with disabilities.
optgroup element to tag thematic groupings of option elements in
label attribute of the
optgroup element to display the label for each grouping.
For each drop-down list:
- Open each (
select) list to identify those which require a grouping of
optionelements, for example grouping of car models by brands or grouping of cities by administrative area;
- Verify, by examining the source code using Firebug, that each series of
optionelements that should be grouped is tagged with the
- Check that each
optgroupelement has a
labelattribute associating a label relevant to the group of options in question.