WCAG Rule 59: Focusable elements with MouseOver should also have OnFocus event handlers.

Rule Mapping

Markup References

Validation Code

Dependencies

None

Context

.focusableMouseover

Parameters

None

Code

function (ruleContext) {
  var passed = util.pairCheck(ruleContext,"mouseover","focus");
  return new ValidationResult(passed, [ruleContext], '', '', []);
} // endfunction