Typing confirmation vs. clicking a button
Sometimes, account removal or deletion may have serious repercussions, like the permanent loss of data or access to important documents. It's your job to ensure that users make the decision intentionally and fully understand what it will cost them.
The best way to prevent users from accidentally clicking on the Delete button is to ask them to take additional steps, such as manually typing "delete" or re-entering their passwords. This intentional roadblock in the flow offers users a chance to reconsider their decision or give it more thought before clicking the confirmation button for good.