I am trying to make a canvas app that responds to keyboard and mouse input. I have this code:
canvas = document.getElementById(\'canvas\'); canvas.addEventLi
Set the tabindex of the canvas element to 1 or something like this
It's an old trick to make any element focusable