Fix and refactor i-ua_interaction

Now data-interaction=keyboard is set only when `tab` or `enter` or `space` or `arrows` is pressed.