tor-browser

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

aria-current_with_value_page-manual.html (3034B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>aria-current with value page</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_LINK"
     25               ],
     26               [
     27                  "property",
     28                  "states",
     29                  "contains",
     30                  "STATE_ACTIVE"
     31               ],
     32               [
     33                  "property",
     34                  "objectAttributes",
     35                  "contains",
     36                  "current:page"
     37               ]
     38            ],
     39            "AXAPI" : [
     40               [
     41                  "property",
     42                  "AXRole",
     43                  "is",
     44                  "AXLink"
     45               ],
     46               [
     47                  "property",
     48                  "AXARIACurrent",
     49                  "is",
     50                  "page"
     51               ]
     52            ],
     53            "IAccessible2" : [
     54               [
     55                  "property",
     56                  "role",
     57                  "is",
     58                  "ROLE_SYSTEM_LINK"
     59               ],
     60               [
     61                  "property",
     62                  "objectAttributes",
     63                  "contains",
     64                  "current:page"
     65               ],
     66               [
     67                  "property",
     68                  "interfaces",
     69                  "contains",
     70                  "IAccessibleHypertext"
     71               ]
     72            ],
     73            "MSAA" : [
     74               [
     75                  "property",
     76                  "role",
     77                  "is",
     78                  "ROLE_SYSTEM_LINK"
     79               ],
     80               [
     81                  "property",
     82                  "states",
     83                  "contains",
     84                  "STATE_SYSTEM_LINKED"
     85               ]
     86            ],
     87            "UIA" : [
     88               [
     89                  "property",
     90                  "ControlType",
     91                  "is",
     92                  "HyperLink"
     93               ],
     94               [
     95                  "property",
     96                  "current",
     97                  "is",
     98                  "page"
     99               ]
    100            ]
    101         },
    102         "title" : "step 1",
    103         "type" : "test"
    104      }
    105   ],
    106   "title" : "aria-current with value page"
    107 }
    108 
    109    ) ;
    110    </script>
    111  </head>
    112  <body>
    113  <p>This test examines the ARIA properties for aria-current with value page.</p>
    114      <div id="test" role="link" aria-current="page">1</div>
    115 
    116  <div id="manualMode"></div>
    117  <div id="log"></div>
    118  <div id="ATTAmessages"></div>
    119  </body>
    120 </html>