WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: on mouse over

for

From: Steve Green
Date: Mar 20, 2013 6:04AM


If JAWS says "onMouseover", it means that the link has a JavaScript onMouseover event handler, which means that an event is triggered when the mouse is hovered over the link. Sometimes that hover event is the only thing that happens, such as a CSS Help overlay being displayed. Sometimes the hover event is in addition to the link being clickable. In the latter case the onMouseover event might just be a change in the colour of the link but it could also trigger a dropdown menu or something else.

As such, there is no one 'right' way to code onMouseover links. They are actually an old way of implementing this functionality and there are better methods that use DOM scripting.

Are you aware that JAWS can trigger onMouseover events by using Ctrl + Insert + Enter? The behaviour depends on the JAWS version and has changed quite a lot over the years. It does not always work but it does most of the time. However, it may be difficult for you to work out what has happened if the change is purely visual, such as a dropdown menu opening.

I have recently seen a couple of websites where it was necessary to press Ctrl + Insert + Enter to trigger the onMouseover event and then press the Enter key to trigger the link. However, I only found that out by experimentation and will not always work.

Steve Green

-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Stanzel, Susan - FSA, Kansas City, MO
Sent: 20 March 2013 11:08
To: WebAIM Discussion List
Subject: [WebAIM] on mouse over

Hi Listers,

Is there any place for coding a link as on mouse over? A friend of mine sent me a site to look at. All the links on the page said "on mouse over" and a sighted person could open them, but I couldn't. If they can be used, what is the proper coding?

Susie Stanzel
IT Systems Specialist, USDA




This electronic message contains information generated by the USDA solely for the intended recipients. Any unauthorized interception of this message or the use or disclosure of the information it contains may violate the law and subject the violator to civil or criminal penalties. If you believe you have received this message in error, please notify the sender and delete the email immediately.