tor-browser

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

aria-details_pointing_to_div_element-manual.html (2247B)


      1 <!doctype html>
      2 <html>
      3  <head>
      4    <title>aria-details pointing to div element</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                  "relation",
     22                  "RELATION_DETAILS",
     23                  "is",
     24                  "[details]"
     25               ]
     26            ],
     27            "IAccessible2" : [
     28               [
     29                  "property",
     30                  "relations",
     31                  "contains",
     32                  "IA2_RELATION_DETAILS"
     33               ]
     34            ],
     35            "UIA" : [
     36               [
     37                  "property",
     38                  "IUIAutomationElement.DescribedBy",
     39                  "is",
     40                  "[details]"
     41               ]
     42            ]
     43         },
     44         "title" : "step 1",
     45         "type" : "test"
     46      },
     47      {
     48         "element" : "details",
     49         "test" : {
     50            "ATK" : [
     51               [
     52                  "relation",
     53                  "RELATION_DETAILS_FOR",
     54                  "is",
     55                  "[test]"
     56               ]
     57            ],
     58            "IAccessible2" : [
     59               [
     60                  "property",
     61                  "relations",
     62                  "contains",
     63                  "IA2_RELATION_DETAILS_FOR"
     64               ]
     65            ]
     66         },
     67         "title" : "step 2",
     68         "type" : "test"
     69      }
     70   ],
     71   "title" : "aria-details pointing to div element"
     72 }
     73 
     74    ) ;
     75    </script>
     76  </head>
     77  <body>
     78  <p>This test examines the ARIA properties for aria-details pointing to div element.</p>
     79    <img id="test" src="foo.jpg" aria-details="details">
     80  <div id="details">
     81    <iframe src="data:text/html,<body>foo</body>"/>
     82  </div>
     83 
     84 
     85  <div id="manualMode"></div>
     86  <div id="log"></div>
     87  <div id="ATTAmessages"></div>
     88  </body>
     89 </html>