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