1 2 3 4 5 6 7 8 9 10 11 12 13 14
<!doctype html> <html> <head> <title>Checking nodes marked as clickable</title> </head> <body> <div>Generic div</div> <h1>Heading</h1> <button>Button</button> <div onclick="alert('success');" role="group"> <p>Paragraph with click handler on parent and should be not marked as clickable</p> </div> </body> </html>