First line checks if the target element is an `<input>`, `<select>` or `<textarea>`, in which case we should not focus the search bar since one would be unable to type in those other fields.

Second line tests if the target element is [editable](https://developer.mozilla.org/de/docs/HTML/Content_Editable). Pretty unlikely imho, but who knwos. :D