chromium/content/test/data/accessibility/aria/label-with-selected-option.html

<!--
@BLINK-ALLOW:*editable*
@BLINK-ALLOW:richlyEditable*
-->
<html>
<body>
  <div>
    <input type="checkbox" id="test1" />
    <label for="test1">Test 1: Flash the screen
      <ul role="listbox" style="list-style-type: none;">
        <li role="option" aria-selected="false">1</li>
        <li role="option" aria-selected="true">2</li>
        <li role="option">3</li>
      </ul>
      times.
    </label>
  </div>
  <div>
    <input type="checkbox" id="test2" />
    <label for="test2">Test 2: Flash the screen
      <div role="combobox">
        <div role="textbox"></div>
        <ul role="listbox" style="list-style-type: none;">
          <li role="option" aria-selected="false">1</li>
          <li role="option" aria-selected="true">2</li>
          <li role="option" >3</li>
        </ul>
      </div>
      times.
    </label>
  </div>
  <div>
    <input type="checkbox" id="test3" />
    <label for="test3">Test 3: Flash the screen
      <ul role="listbox" style="list-style-type: none;">
        <li role="option" aria-selected="false">1</li>
        <li role="option" aria-selected="true" aria-label="two">2</li>
        <li role="option">3</li>
      </ul>
      times.
    </label>
  </div>
  <div>
    <input type="checkbox" id="test4" />
    <label for="test4">Test 4: Flash the screen
      <div role="combobox">
        <div role="textbox"></div>
        <ul role="listbox" style="list-style-type: none;">
          <li role="option" aria-selected="false">1</li>
          <li role="option" aria-selected="true" aria-label="two">2</li>
          <li role="option">3</li>
      </ul>
      </div>
      times.
    </label>
  </div>
  <div>
    <input type="checkbox" id="test5" />
    <label for="test5">Test 5: Flash the screen
      <div role="combobox" aria-haspopup="true" tabindex="0">
        <ul role="listbox" style="list-style-type: none;">
          <li role="option" aria-selected="false">1</li>
          <li role="option" aria-selected="true" aria-label="two">2</li>
          <li role="option">3</li>
      </ul>
      </div>
      times.
    </label>
  </div>
</body>
</html>