| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript" src="../resources/dom-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="./../resources/accessibility-dumpAccessibili
tyNodes.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="d" aria-label="Label"> | |
| 22 <div id="d">Details</div> | |
| 23 | |
| 24 <button data-dump aria-keyshortcuts="Ctrl+A">Select All</button> | |
| 25 | |
| 26 <input data-dump type="checkbox" aria-roledescription="Lightswitch" checked> | |
| 27 | |
| 28 </body> | |
| 29 </html> | |
| OLD | NEW |