https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 210e5bc8e07cb74096b2f8e4c0fa0d75d463d4f4 authored by Geoffrey Sneddon on 24 March 2018, 14:57:11 UTC
Add tests for wptserve.pipes.ReplacementTokenizer
Tip revision: 210e5bc
graphics-document_on_html_element-manual.html
<!doctype html>
<html>
  <head>
    <title>graphics-document on HTML element</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/resources/testharness.css">
    <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_DOCUMENT_FRAME"
               ],
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "xml-roles:graphics-document"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXGroup"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "AXDocument"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "document"
               ]
            ],
            "IAccessible2" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_DOCUMENT"
               ],
               [
                  "property",
                  "objectAttributes",
                  "contains",
                  "xml-roles:graphics-document"
               ],
               [
                  "property",
                  "states",
                  "contains",
                  "STATE_SYSTEM_READONLY"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "Document"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "graphics-document on HTML element"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for graphics-document on HTML element.</p>
    <div id="test" role="graphics-document" aria-label="house">
    <div role="graphics-object" aria-label="door"></div>
  </div>

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