tor-browser

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

cell-manual.html (5419B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>cell</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" : "foo",
     18         "test" : {
     19            "ATK" : [
     20               [
     21                  "result",
     22                  "atk_table_get_n_columns()",
     23                  "is",
     24                  "8"
     25               ],
     26               [
     27                  "property",
     28                  "objectAttributes",
     29                  "contains",
     30                  "colcount:8"
     31               ]
     32            ],
     33            "AXAPI" : [
     34               [
     35                  "property",
     36                  "AXRole",
     37                  "is",
     38                  "AXTable"
     39               ],
     40               [
     41                  "property",
     42                  "AXSubrole",
     43                  "is",
     44                  "<nil>"
     45               ],
     46               [
     47                  "property",
     48                  "AXRoleDescription",
     49                  "is",
     50                  "table"
     51               ],
     52               [
     53                  "property",
     54                  "AXARIAColumnCount",
     55                  "is",
     56                  "8"
     57               ]
     58            ],
     59            "UIA" : [
     60               [
     61                  "property",
     62                  "Grid.ColumnCount",
     63                  "is",
     64                  "8"
     65               ]
     66            ]
     67         },
     68         "title" : "step 1",
     69         "type" : "test"
     70      },
     71      {
     72         "element" : "test",
     73         "test" : {
     74            "ATK" : [
     75               [
     76                  "property",
     77                  "role",
     78                  "is",
     79                  "ROLE_TABLE_CELL"
     80               ],
     81               [
     82                  "result",
     83                  "atk_table_cell_get_position()",
     84                  "contains",
     85                  "column=3"
     86               ],
     87               [
     88                  "property",
     89                  "interfaces",
     90                  "contains",
     91                  "TableCell"
     92               ],
     93               [
     94                  "property",
     95                  "objectAttributes",
     96                  "contains",
     97                  "colindex:4"
     98               ]
     99            ],
    100            "AXAPI" : [
    101               [
    102                  "property",
    103                  "AXRole",
    104                  "is",
    105                  "AXCell"
    106               ],
    107               [
    108                  "property",
    109                  "AXSubrole",
    110                  "is",
    111                  "<nil>"
    112               ],
    113               [
    114                  "property",
    115                  "AXRoleDescription",
    116                  "is",
    117                  "cell"
    118               ],
    119               [
    120                  "property",
    121                  "AXARIAColumnIndex",
    122                  "is",
    123                  "4"
    124               ]
    125            ],
    126            "IAccessible2" : [
    127               [
    128                  "property",
    129                  "objectAttributes",
    130                  "contains",
    131                  "colindex:4"
    132               ],
    133               [
    134                  "property",
    135                  "objectAttributes",
    136                  "contains",
    137                  "colcount:8"
    138               ],
    139               [
    140                  "property",
    141                  "groupPosition",
    142                  "contains",
    143                  "similarItemsInGroup:8"
    144               ],
    145               [
    146                  "property",
    147                  "groupPosition",
    148                  "contains",
    149                  "positionInGroup:4"
    150               ]
    151            ],
    152            "MSAA" : [
    153               [
    154                  "property",
    155                  "role",
    156                  "is",
    157                  "ROLE_SYSTEM_CELL"
    158               ]
    159            ],
    160            "UIA" : [
    161               [
    162                  "property",
    163                  "ControlType",
    164                  "is",
    165                  "DataItem"
    166               ],
    167               [
    168                  "property",
    169                  "interfaces",
    170                  "contains",
    171                  "GridItem pattern"
    172               ],
    173               [
    174                  "property",
    175                  "GridItem.Column",
    176                  "is",
    177                  "3"
    178               ],
    179               [
    180                  "property",
    181                  "interfaces",
    182                  "contains",
    183                  "selection pattern"
    184               ],
    185               [
    186                  "property",
    187                  "interfaces",
    188                  "MUST NOT contain",
    189                  "invoke pattern"
    190               ]
    191            ]
    192         },
    193         "title" : "step 2",
    194         "type" : "test"
    195      }
    196   ],
    197   "title" : "cell"
    198 }
    199 
    200    ) ;
    201    </script>
    202  </head>
    203  <body>
    204  <p>This test examines the ARIA properties for cell.</p>
    205    <div id="foo" role="table" aria-colcount="8">
    206    <div role="row">
    207       <span id="test" role="cell" aria-colindex="4" >test cell</span>
    208    </div>
    209  </div>
    210 then role: cell, aria-colindex: 4, aria-colcount:8
    211 
    212  <div id="manualMode"></div>
    213  <div id="log"></div>
    214  <div id="ATTAmessages"></div>
    215  </body>
    216 </html>