Quick Tip: Device independent JavaScript events

Event handlers accompany existing HTML and are triggered by a browser or user event. To ensure that event handlers are accessible, use device independent event handlers which respond to both keyboard and mouse. Avoid use of onmouseover, onclick, or ondblclick events as these only trigger with mouse events.


The monthly Web Accessibility Tip comes from WebAIM and is shared to get a wider audience. For more information about web accessibility, please visit the WebAIM website.

See also information about how you can subscribe to the monthly WebAIM Newsletterwhich contains lots of great information about web accessibility.