tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

menubar_orientation_vertical-manual.html (2821B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>menubar orientation vertical</title>
      5    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
      6    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
      7    <script src="/resources/testharness.js"></script>
      8    <script src="/resources/testharnessreport.js"></script>
      9    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
     10    <script>
     11    setup({explicit_timeout: true, explicit_done: true });
     12 
     13    var theTest = new ATTAcomm(
     14    {
     15   "steps" : [
     16      {
     17         "element" : "test",
     18         "test" : {
     19            "ATK" : [
     20               [
     21                  "property",
     22                  "role",
     23                  "is",
     24                  "ROLE_MENU_BAR"
     25               ],
     26               [
     27                  "property",
     28                  "states",
     29                  "contains",
     30                  "STATE_VERTICAL"
     31               ]
     32            ],
     33            "AXAPI" : [
     34               [
     35                  "property",
     36                  "AXRole",
     37                  "is",
     38                  "AXMenuBar"
     39               ],
     40               [
     41                  "property",
     42                  "AXSubrole",
     43                  "is",
     44                  "<nil>"
     45               ],
     46               [
     47                  "property",
     48                  "AXRoleDescription",
     49                  "is",
     50                  "menu bar"
     51               ],
     52               [
     53                  "property",
     54                  "AXOrientation",
     55                  "is",
     56                  "AXVerticalOrientation"
     57               ]
     58            ],
     59            "IAccessible2" : [
     60               [
     61                  "property",
     62                  "states",
     63                  "contains",
     64                  "IA2_STATE_VERTICAL"
     65               ]
     66            ],
     67            "MSAA" : [
     68               [
     69                  "property",
     70                  "role",
     71                  "is",
     72                  "ROLE_SYSTEM_MENUBAR"
     73               ]
     74            ],
     75            "UIA" : [
     76               [
     77                  "property",
     78                  "ControlType",
     79                  "is",
     80                  "MenuBar"
     81               ],
     82               [
     83                  "property",
     84                  "IUIAutomationElement.Orientation",
     85                  "is",
     86                  "vertical"
     87               ]
     88            ]
     89         },
     90         "title" : "step 1",
     91         "type" : "test"
     92      }
     93   ],
     94   "title" : "menubar orientation vertical"
     95 }
     96 
     97    ) ;
     98    </script>
     99  </head>
    100  <body>
    101  <p>This test examines the ARIA properties for menubar orientation vertical.</p>
    102    <ul id="test" role="menubar" aria-orientation="vertical">
    103    <li role="menuitem">File</file>
    104    <li role="menuitem">Edit</file>
    105  </ul>
    106 
    107  <div id="manualMode"></div>
    108  <div id="log"></div>
    109  <div id="ATTAmessages"></div>
    110  </body>
    111 </html>