I had the error:
An invalid form control with name='telefono' is not focusable.
This was happening because I was not using the required field correctly, which enabled and disabled when clicking on a checkbok. The solution was to remove the required
attribute whenever the checkbok was not marked and mark it as required when the checkbox was marked.
var telefono = document.getElementById("telefono");
telefono.removeAttribute("required");