Yes, for general case, `:active` should be used.
However, for keyboard app, due to we do `preventDefault()` for `mousedown` event, we could not trigger :active when you press the button.
That is why I added the js code to do this.