In our software, we have a delete prompt where the user has to confirm a deletion. What is the better approach to show the prompt?
- Centered in the window:
- In the near of the pressed button:
Allowing the user to confirm or cancel the deletion more closely to the Delete button provides better context, and a faster interaction.
Fitts’s Law is a good reference for this question. Fitts’s Law “predicts that the time required to rapidly move to a target area is a function of the ratio between the distance to the target and the width of the target.”