Accept string for keyboardEventTarget option