form: do not focus invisible elements.