Like the “While hovering” and “While pressing” interactions, there should be a “While focused” interaction that responds to user focus in prototypes. Would be very useful when prototyping components that have focus states, like buttons or inputs.
Right now, I’m using the “Key/Gamepad” interaction to capture a tab press, but this is clunky and a bit of a mess/not viable if you have many elements that can receive focus in your mock. I would expect a way to hit tab to cycle through each interactive component in the current prototype screen. Then I would expect a spacebar press to trigger the “While pressed” interaction.
Also, I’d love to see more ways to prototype accessible interactions in general, for my own testing and for user testing with people who have need of these interactions.