<optgroup> within <select>

Return to main list

This is a test case designed to determine how the <optgroup> element is announced by various screen readers.

Example

Code

<div>
  <label for="suburb">Suburb</label>
  <select id="suburb">
    <option value="">Choose an option</option>
    <optgroup label="Suburbs beginning with A">
      <option value="Abbotsbury">Abbotsbury</option>
    </optgroup>
    <optgroup label="Suburbs beginning with B">
      <option value="BadgerysCreek">Badgerys Creek</option>
    </optgroup>
  </select>
</div>

Assistive technologies

VoiceOver

NVDA

JAWS

Return to main list