OLD | NEW |
(Empty) | |
| 1 (async function() { |
| 2 let {page, session, Protocol} = await InspectorTest.startHTML(` |
| 3 <input data-dump aria-errormessage='err'> |
| 4 <h3 id='err'>This text field has an error!</h3> |
| 5 |
| 6 <img data-dump aria-details='d1 d2' aria-label='Label'> |
| 7 <div id='d1'>Details 1</div> |
| 8 <div id='d2'>Details 2</div> |
| 9 |
| 10 <button data-dump aria-keyshortcuts='Ctrl+A'>Select All</button> |
| 11 |
| 12 <input data-dump type='checkbox' aria-roledescription='Lightswitch' checked> |
| 13 `, ''); |
| 14 |
| 15 (await InspectorTest.loadScript('../resources/accessibility-dumpAccessibilityN
odes.js'))(session); |
| 16 |
| 17 var msg = await Protocol.DOM.getDocument(); |
| 18 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest('[data-dump]', f
alse, msg); |
| 19 })(); |
OLD | NEW |