1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40

content / test / data / accessibility / html / optgroup-custom-menulist.html [blame]

<!--
@MAC-ALLOW:AXRoleDescription
@WIN-ALLOW:xml-roles*
@WIN-ALLOW:IA2_STATE_VERTICAL
@WIN-ALLOW:SELECTABLE
@WIN-ALLOW:*popup*
@UIA-WIN-ALLOW:Value.IsReadOnly*
@BLINK-ALLOW:setSize*
@BLINK-ALLOW:posInSet*
@AURALINUX-ALLOW:xml-roles*
@AURALINUX-ALLOW:posinset*
@AURALINUX-ALLOW:setsize*
@AURALINUX-ALLOW:enabled
@AURALINUX-ALLOW:*popup*
@DEFAULT-ACTION-ON:Transformer
-->
<!DOCTYPE html>
<html>
<style>
select, select::picker(select) {
  appearance: base-select;
}
</style>
<body>
<select id="menulist" aria-label="Transformer">
  <option>Random Transformer</option>
  <optgroup label="group 1">
    <option>Optimus Prime</option>
    <option>Bumblebee</option>
    <option>Jazz</option>
  </optgroup>
  <optgroup>
    <legend>group <mark>2</mark></legend>
    <option>Megatron</option>
    <option>Starscream</option>
    <option>Brawl</option>
  </optgroup>
</select>
</body>
</html>