Utility to listen for keyboard events
Svelte component and action to focus an element when pressing a key