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

content / test / data / accessibility / aria / aria-hidden-focused-button.html [blame]

<!--
@AURALINUX-ALLOW:focus*
@AURALINUX-ALLOW:hidden*
@AURALINUX-ALLOW:showing
@AURALINUX-ALLOW:visible
-->
<html>
<body>
<div role="main" aria-hidden="true">
  <div>
    <div role="none">
      <div role="none">
        <div aria-hidden="true">
          <div>
            <div role="none">
              <div>
                <button id="button1">Button 1</button>
                <button id="button2">Button 2</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
  document.getElementById("button2").focus();
</script>
</body>
</html>