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

content / test / data / accessibility / aria / aria-comment.html [blame]

<!DOCTYPE html>
<!--
@BLINK-ALLOW:setSize*
@BLINK-ALLOW:posInSet*
@BLINK-ALLOW:hierarchicalLevel*
-->
<html>
<body>
  <!-- Element hierarchy -->
  <div role="comment" aria-label="Top level (Element hierarchy)">
    <div role="comment" aria-label="Reply 1">
      <div role="group">
        <div role="comment" aria-label="Reply-to-reply 1"></div>
      </div>
    </div>
    <div role="comment" aria-label="Reply 2"></div>
  </div>

  <!-- aria-owns hierarchy -->
  <div role="comment" aria-label="Top level (aria-owns hierarchy)" aria-owns="reply1 reply2"></div>
  <div role="comment" id="reply1" aria-label="Reply 1" aria-owns="replytoreply1"></div>
  <div id="replytoreply1" role="comment" aria-label="Reply to reply 1"></div>
  <div id="reply2" role="comment" aria-label="Reply 2"></div>

  <!-- aria-level hierarchy -->
  <div role="comment" aria-level="1" aria-label="Top level (aria-level hierarchy)"></div>
  <div role="comment" aria-level="2" aria-label="Reply 1"></div>
  <div role="comment" aria-level="3" aria-label="Reply to reply 1"></div>
  <div role="comment" aria-level="2" aria-label="Reply 2"></div>

  <!-- Ensure aria-posinset, aria-setsize are utilized -->
  <div role="comment" aria-level="5" aria-posinset="9" aria-setsize="10" aria-label="Out of place">
</body>
</html>