Focus and click events

Pairing keyboard events with mouse events

demonstration link

  1. roll over the demonstration link to show the hidden text.
  2. now use the keyboard to tab onto the link, hidden text reappears
  3. click the link.
  4. tab onto the link with the keyboard and press enter

show this when mouseover or focus event happens

Click event triggers focus and click

demonstration link

  1. focus on link to see focus functionality
  2. click on link to see click and focus functionality

One thought on “Focus and click events

  1. Pingback: Get some focus: keyboard and mouse events « Dawn Budge

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>