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

Description

Best Practice Type: Pass/Warning

All elements but the following would be considered non-focusable:

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

Markup

none

Associated Accessibility Guidelines and Standards

Guideline or
Standard
Requirement Priority Test
Type
IITAA 13.2 Ensure that significant interactions can be performed with both keyboard and mouse. Required Violation
Section 508 1194.21 (a) When software is designed to run on a system that has a keyboard, product functions shall be executable from a keyboard where the function itself or the result of performing a function can be discerned textually. Required Violation
WCAG 1.0 3.3 Use style sheets to control layout and presentation. Required Violation
WCAG 2.0 2.1.1 Keyboard Required Violation

Examples

Evaluation Techniues

none

Testsuite Tests

none