That let's you use touch events or mouseenter/mouseleave events depending on the input, while CSS :hover remains a fallback.