https://github.com/web-platform-tests/wpt
Raw File
Tip revision: bf21aa6a53367f9ad69c1f8c78d66c20270bbeaf authored by Andrea Marchesini on 04 April 2018, 17:43:55 UTC
setTimeout/setInterval should silently fail if the worker is shutting down,
Tip revision: bf21aa6
menubar-manual.html
<!doctype html>
<html>
  <head>
    <title>menubar</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_MENU_BAR"
               ],
               [
                  "property",
                  "interfaces",
                  "contains",
                  "Selection"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXMenuBar"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "<nil>"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "menu bar"
               ]
            ],
            "IAccessible2" : [
               [
                  "result",
                  "IAccessible::accSelect()",
                  "is",
                  "TBD"
               ],
               [
                  "result",
                  "IAccessible::get_accSelection()",
                  "is",
                  "TBD"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_MENUBAR"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "MenuBar"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "menubar"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for menubar.</p>
    <div role='menubar' id='test'>
    <div role='menuitemradio'>content</div>
  </div>

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