tor-browser

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

application_activedescendant-manual.html (5278B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>application activedescendant</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         "event" : "focus",
     19         "title" : "step 1",
     20         "type" : "event"
     21      },
     22      {
     23         "element" : "test",
     24         "test" : {
     25            "ATK" : [
     26               [
     27                  "property",
     28                  "role",
     29                  "is",
     30                  "ROLE_EMBEDDED"
     31               ],
     32               [
     33                  "property",
     34                  "states",
     35                  "doesNotContain",
     36                  "STATE_FOCUSED"
     37               ],
     38               [
     39                  "property",
     40                  "states",
     41                  "contains",
     42                  "STATE_FOCUSABLE"
     43               ]
     44            ],
     45            "AXAPI" : [
     46               [
     47                  "property",
     48                  "AXRole",
     49                  "is",
     50                  "AXGroup"
     51               ],
     52               [
     53                  "property",
     54                  "AXSubrole",
     55                  "is",
     56                  "AXWebApplication"
     57               ],
     58               [
     59                  "property",
     60                  "AXRoleDescription",
     61                  "is",
     62                  "web application"
     63               ],
     64               [
     65                  "property",
     66                  "AXFocused",
     67                  "is",
     68                  "false"
     69               ]
     70            ],
     71            "MSAA" : [
     72               [
     73                  "property",
     74                  "role",
     75                  "is",
     76                  "ROLE_SYSTEM_APPLICATION"
     77               ],
     78               [
     79                  "property",
     80                  "states",
     81                  "doesNotContain",
     82                  "STATE_SYSTEM_FOCUSED"
     83               ],
     84               [
     85                  "property",
     86                  "states",
     87                  "contains",
     88                  "STATE_SYSTEM_FOCUSABLE"
     89               ]
     90            ],
     91            "UIA" : [
     92               [
     93                  "property",
     94                  "ControlType",
     95                  "is",
     96                  "Pane"
     97               ],
     98               [
     99                  "property",
    100                  "LocalizedControlType",
    101                  "is",
    102                  "application"
    103               ],
    104               [
    105                  "property",
    106                  "IUIAutomationElement.UIA_IsKeyboardFocusablePropertyId",
    107                  "is",
    108                  "true"
    109               ],
    110               [
    111                  "property",
    112                  "IUIAutomationElement.UIA_HasKeyboardFocusPropertyId",
    113                  "is",
    114                  "false"
    115               ]
    116            ]
    117         },
    118         "title" : "step 2",
    119         "type" : "test"
    120      },
    121      {
    122         "element" : "bob",
    123         "test" : {
    124            "ATK" : [
    125               [
    126                  "property",
    127                  "states",
    128                  "contains",
    129                  "STATE_FOCUSED"
    130               ],
    131               [
    132                  "property",
    133                  "states",
    134                  "contains",
    135                  "STATE_FOCUSABLE"
    136               ]
    137            ],
    138            "AXAPI" : [
    139               [
    140                  "property",
    141                  "AXFocused",
    142                  "is",
    143                  "true"
    144               ],
    145               [
    146                  "result",
    147                  "AXUIElementIsAttributeSettable(AXFocused)",
    148                  "is",
    149                  "true"
    150               ]
    151            ],
    152            "MSAA" : [
    153               [
    154                  "property",
    155                  "states",
    156                  "contains",
    157                  "STATE_SYSTEM_FOCUSED"
    158               ],
    159               [
    160                  "property",
    161                  "states",
    162                  "contains",
    163                  "STATE_SYSTEM_FOCUSABLE"
    164               ]
    165            ],
    166            "UIA" : [
    167               [
    168                  "property",
    169                  "IUIAutomationElement.UIA_IsKeyboardFocusablePropertyId",
    170                  "is",
    171                  "true"
    172               ],
    173               [
    174                  "property",
    175                  "IUIAutomationElement.UIA_HasKeyboardFocusPropertyId",
    176                  "is",
    177                  "true"
    178               ]
    179            ]
    180         },
    181         "title" : "step 3",
    182         "type" : "test"
    183      }
    184   ],
    185   "title" : "application activedescendant"
    186 }
    187 
    188    ) ;
    189    </script>
    190  </head>
    191  <body>
    192  <p>This test examines the ARIA properties for application activedescendant.</p>
    193     <div id='test' tabindex="0" aria-activedescendant="bob" role='application'>
    194     <div id='bob' role='group'>Hello world</div>
    195  </div>
    196 then role:application, aria-activedescendant: bob
    197 
    198  <div id="manualMode"></div>
    199  <div id="log"></div>
    200  <div id="ATTAmessages"></div>
    201  </body>
    202 </html>