Difference between revisions of "Event Watcher"

From Level Access Web Labs
Jump to navigation Jump to search
Line 63: Line 63:
 
}
 
}
 
       }
 
       }
 +
    function goSomewhere() {
 +
 +
    }
 
     </script>
 
     </script>
 
   </head>
 
   </head>
Line 81: Line 84:
 
     <div id="d1" tabindex="0"> div area </div>
 
     <div id="d1" tabindex="0"> div area </div>
 
   <h3>Log area</h3>
 
   <h3>Log area</h3>
     <div id="d2" aria-live="polite" >
+
     <div onclick="goSomewhere();" id="d2" aria-live="polite" >
  
 
<button onclick="setup();"> start</button>
 
<button onclick="setup();"> start</button>

Revision as of 19:15, 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.

SSB
div area

Log area