tor-browser

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

dialog_modal_unspecified-manual.html (3110B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>dialog modal unspecified</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_DIALOG"
     25               ],
     26               [
     27                  "property",
     28                  "states",
     29                  "doesNotContain",
     30                  "STATE_MODAL"
     31               ]
     32            ],
     33            "AXAPI" : [
     34               [
     35                  "property",
     36                  "AXRole",
     37                  "is",
     38                  "AXGroup"
     39               ],
     40               [
     41                  "property",
     42                  "AXSubrole",
     43                  "is",
     44                  "AXApplicationDialog"
     45               ],
     46               [
     47                  "property",
     48                  "AXRoleDescription",
     49                  "is",
     50                  "web dialog"
     51               ]
     52            ],
     53            "IAccessible2" : [
     54               [
     55                  "property",
     56                  "role",
     57                  "is",
     58                  "ROLE_SYSTEM_DIALOG"
     59               ],
     60               [
     61                  "property",
     62                  "states",
     63                  "doesNotContain",
     64                  "IA2_STATE_MODAL"
     65               ]
     66            ],
     67            "MSAA" : [
     68               [
     69                  "property",
     70                  "role",
     71                  "is",
     72                  "ROLE_SYSTEM_DIALOG"
     73               ]
     74            ],
     75            "UIA" : [
     76               [
     77                  "property",
     78                  "ControlType",
     79                  "is",
     80                  "Pane"
     81               ],
     82               [
     83                  "result",
     84                  "Window.isModal",
     85                  "is",
     86                  "false"
     87               ]
     88            ]
     89         },
     90         "title" : "step 1",
     91         "type" : "test"
     92      },
     93      {
     94         "element" : "Test2",
     95         "test" : {
     96            "AXAPI" : [
     97               [
     98                  "property",
     99                  "accessible",
    100                  "is",
    101                  "true"
    102               ]
    103            ]
    104         },
    105         "title" : "step 2",
    106         "type" : "test"
    107      }
    108   ],
    109   "title" : "dialog modal unspecified"
    110 }
    111 
    112    ) ;
    113    </script>
    114  </head>
    115  <body>
    116  <p>This test examines the ARIA properties for dialog modal unspecified.</p>
    117    <h1 id="Test2">Modal Dialog Box Test</h1>
    118  <div role="dialog" id="test">
    119    You have an error.
    120    <input type="button" value="ok"/>
    121  </div>
    122 
    123  <div id="manualMode"></div>
    124  <div id="log"></div>
    125  <div id="ATTAmessages"></div>
    126  </body>
    127 </html>