<input type="hidden"> will not trigger input validation, automatic completion, and other user interaction events. It is designed to save the original data without direct user input.
But a <input type="text"> , visually hidden, will still be seen as a component of user interaction. And on some devices that allow visual assistance, it will not be hidden and cannot provide the consistency that you expected. That is why he does not prefer to do this.
Eg. a <input type="hidden"> will not automatically fill it out on its own or save the entered data before updating the page or prevent the possibility of submitting a form to check for an invalid type.
source share