tor-browser

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

heading-manual.html (2135B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>heading</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_HEADING"
     25               ]
     26            ],
     27            "AXAPI" : [
     28               [
     29                  "property",
     30                  "AXRole",
     31                  "is",
     32                  "AXHeading"
     33               ],
     34               [
     35                  "property",
     36                  "AXSubrole",
     37                  "is",
     38                  "<nil>"
     39               ]
     40            ],
     41            "IAccessible2" : [
     42               [
     43                  "property",
     44                  "role",
     45                  "is",
     46                  "IA2_ROLE_HEADING"
     47               ],
     48               [
     49                  "property",
     50                  "objectAttributes",
     51                  "contains",
     52                  "xml-roles:heading"
     53               ]
     54            ],
     55            "UIA" : [
     56               [
     57                  "property",
     58                  "ControlType",
     59                  "is",
     60                  "Text"
     61               ],
     62               [
     63                  "property",
     64                  "LocalizedControlType",
     65                  "is",
     66                  "heading"
     67               ]
     68            ]
     69         },
     70         "title" : "step 1",
     71         "type" : "test"
     72      }
     73   ],
     74   "title" : "heading"
     75 }
     76 
     77    ) ;
     78    </script>
     79  </head>
     80  <body>
     81  <p>This test examines the ARIA properties for heading.</p>
     82    <div role='heading' id='test'>content</div>
     83 
     84  <div id="manualMode"></div>
     85  <div id="log"></div>
     86  <div id="ATTAmessages"></div>
     87  </body>
     88 </html>