With Javascript, this is easy. You can attach click and keydown events to the checkbox ( onclick , onkeydown or use jQuery if you want) and they will fire when you press or when you press a key. By "click" from the keyboard, I assume that you mean highlighting the checkbox through tabs and pressing the spacebar. This will still raise the keydown event, but not the click.
source share