This has come up in numerous forum questions: needing the ability to trigger interactions based on a user key press. For instance, arrow keys to navigate a slideshow. Or ESC key to close a modal.
This is best practice and professional usability which is industry standard.
Ideally we want to be able to bundle a key press trigger with an existing interaction logic – IF user taps image OR presses arrow key THEN perform the designated action.