When typing a password, on desktop devices,the dots that are covering typed characters are useful, because we can assume that somebody might walk behind our desk and look at the password we are typing.
On mobile devices, it’s harder to look - we hold the device in hand - and it’s easier to make a mistake.
When the password is a key step in your business (to buy something, for example), you don’t want users to go away because they are tired of rewriting a miswritten password.
It would be nice to have a toggle button that can show the password, to avoid typos and in the same time guarantee privacy when needed.
The html is simple: a form and an anchor to toggle the status:
You can see a demo here