Difference between revisions of "Event Watcher"
Jump to navigation
Jump to search
(Fix onkeyup typo, and add touchenter, touchleave and mouseout) |
|||
Line 39: | Line 39: | ||
function setup() { | function setup() { | ||
− | var elements = ['s1','i1','b1','a1']; | + | var elements = ['s1','i1','b1','a1','d1']; |
var el; | var el; | ||
Line 79: | Line 79: | ||
<a aria-label="SSB" tabindex="0" href="#" id="a1">SSB </a> | <a aria-label="SSB" tabindex="0" href="#" id="a1">SSB </a> | ||
− | + | <div id="d1" tabindex="0"> div area </div> | |
<h3>Log area</h3> | <h3>Log area</h3> | ||
<div id="d2" aria-live="polite" > | <div id="d2" aria-live="polite" > |
Revision as of 19:13, 28 March 2018
Move through the fields below and watch the events that are sent by the browser. For example, use with AT to find out what events are being fired.
- onfocus, onblur, onclick, ondbclik, onmouseup, onmousedown, onmouseover
- onkeypress, onkeydown, onkeyup, touchstart, touchend, touchmove, touchcancel
Event types and their target object will be displayed in the section below. Raw event objects will also be logged to the browser console, and may be reviewed with the developer tools.