jsx_a11y/mouse-events-have-key-events Correctness
What it does
Enforce onmouseover/onmouseout are accompanied by onfocus/onblur.
Why is this bad?
Coding for the keyboard is important for users with physical disabilities who cannot use a mouse, AT compatibility, and screenreader users.
Example
Examples of incorrect code for this rule:
jsx
<div onMouseOver={() => void 0} />
Examples of correct code for this rule:
jsx
<div onMouseOver={() => void 0} onFocus={() => void 0} />