OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> | 3 <script type="text/javascript" src="../resources/dom-protocol-test.js"></script> |
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js"><
/script> | 5 <script type="text/javascript" src="./../resources/accessibility-dumpAccessibili
tyNodes.js"></script> |
6 <script> | 6 <script> |
7 | 7 |
8 function test() | 8 function test() |
9 { | 9 { |
10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { | 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { |
11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum
p]", false, msg); | 11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum
p]", false, msg); |
12 }); | 12 }); |
13 } | 13 } |
14 | 14 |
15 </script> | 15 </script> |
16 </head> | 16 </head> |
17 <body onLoad="runTest();"> | 17 <body onLoad="runTest();"> |
18 <input data-dump aria-errormessage="err"> | 18 <input data-dump aria-errormessage="err"> |
19 <h3 id="err">This text field has an error!</h3> | 19 <h3 id="err">This text field has an error!</h3> |
20 | 20 |
21 <img data-dump aria-details="d1 d2" aria-label="Label"> | 21 <img data-dump aria-details="d1 d2" aria-label="Label"> |
22 <div id="d1">Details 1</div> | 22 <div id="d1">Details 1</div> |
23 <div id="d2">Details 2</div> | 23 <div id="d2">Details 2</div> |
24 | 24 |
25 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button> | 25 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button> |
26 | 26 |
27 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked> | 27 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked> |
28 | 28 |
29 </body> | 29 </body> |
30 </html> | 30 </html> |
OLD | NEW |