Use .focus() instead of target.focus() for quirks test