testing/web-platform/tests/dpub-aam/manual/doc-dedication-manual.html
author Cosmin Sabou <csabou@mozilla.com>
Sat, 12 Jul 2025 09:18:08 +0300 (8 hours ago)
changeset 796290 5ad1f0c58c82bdfa2f42fed870bbe143465398d0
parent 686821 be8d97e988830d81c1f103304002fd46d3da30ba
permissions -rw-r--r--
Revert "Bug 1977019 - re-enable hw video decoding testing. r=media-playback-reviewers,jolin" for causing win mda failures on test_hw_video_decoding.html This reverts commit 158474bdc0cf585b701bc47921f0a7d84f7bb84d.
<!doctype html>
<html>
  <head>
    <title>doc-dedication</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_SECTION"
               ],
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "xml-roles:doc-dedication"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXGroup"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "AXApplicationGroup"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "group"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "xml-roles:doc-dedication"
               ],
               [
                  "property",
                  "role",
                  "is",
                  "IA2_ROLE_SECTION"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "Text"
               ],
               [
                  "property",
                  "LocalizedControlType",
                  "is",
                  "dedication"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "doc-dedication"
}

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

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