testing/web-platform/tests/dpub-aam/manual/doc-pagelist-manual.html
author Gabriel Luong <gabriel.luong@gmail.com>
Sun, 13 Jul 2025 02:28:40 +0000 (7 hours ago)
changeset 796385 23185ed855a5b168943bde8ebe8ec946cd83f675
parent 686821 be8d97e988830d81c1f103304002fd46d3da30ba
permissions -rw-r--r--
Bug 1972159 - Part 25: Enable Compose Homepage by default and remove associated settings and Nimbus flags r=android-reviewers,devota Differential Revision: https://phabricator.services.mozilla.com/D254598
<!doctype html>
<html>
  <head>
    <title>doc-pagelist</title>
    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
    <script>
    setup({explicit_timeout: true, explicit_done: true });

    var theTest = new ATTAcomm(
    {
   "steps" : [
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_LANDMARK"
               ],
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "xml-roles:doc-pagelist"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXGroup"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "AXLandmarkNavigation"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "navigation"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "xml-roles:doc-pagelist"
               ],
               [
                  "property",
                  "role",
                  "is",
                  "IA2_ROLE_LANDMARK"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "Text"
               ],
               [
                  "property",
                  "LocalizedControlType",
                  "is",
                  "pagelist"
               ],
               [
                  "property",
                  "landmarkType",
                  "is",
                  "Custom"
               ],
               [
                  "property",
                  "LocalizedLandmarkType",
                  "is",
                  "pagelist"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "doc-pagelist"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for doc-pagelist.</p>
    <div role="doc-pagelist" id="test">Text</div>

  <div id="manualMode"></div>
  <div id="log"></div>
  <div id="ATTAmessages"></div>
  </body>
</html>