A A A A A

onMouseOver Event Rules

HTML Markup Details

onmouseover and onmouseout attribute
The onmouseover and onmouseout event is often used to create styling effects, dispaly content from dynamic menus and provide contextual help information.
onfocus and onblur attribute
The onfocus and onblur events can be used to provide keyboard support to mouse pointer related events that are needed for accessibility.

Accessibility Evaluation Rules

onMouseOver Event Handler Rules
no. FAE 2007 FAE 2008 Description
1 Pass/Fail Pass/Fail

Every onmouseover event handler that is on a focuable element must have a corresponding onfocus event handler.

Implementation Notes

Focusable elements include:

  • a elements with an href and/or tabindex atribute with a value greater than or equal 0.
  • input, select, button, textarea and area elements.
2 Pass/Fail Pass/Fail

Every onmouseout event handler that is on a focuable element must have a corresponding onblur event handler.

Implementation Notes

Focusable elements include:

  • a elements with an href and/or tabindex atribute with a value greater than or equal 0.
  • input, select, button, textarea and area elements.
3 n/a Pass/Warning

Every onmouseover or onmouseout event handler that is not on a focusable element should use CSS :hover psuedo element to provide the stylistic changes.

Implementation Notes

Focusable elements include:

  • a elements with an href and/or tabindex atribute with a value greater than or equal 0.
  • input, select, button, textarea and area elements.

FAE Rule Implemetation

FAE 2007
The Illinois Functional Accessibility Evaluator (FAE) currently implements FAE 2007 rules.
The Illinois Firefox Accessibility Extension currently implements these rules.
FAE 2008
The FAE 2008 rules are designed to optimize the rules for implementation of Section 508, W3C Web Content Accessibility Guidelines and Illinois Information technology Accessibility Act requirements and are based on the requirements of these standards and experience with the problems of FAE 2007.
The Illinois Firefox Accessibility Extension currently implements some of these rules.

Scripts and Applications

Script Examples

Other HTML Best Practices

Working Group