2

I have a modal window and I need to pop an alert box when user deletes a certain item on the screen as, "Are you sure you want to delete?". There is no way that I can remove this modal window. Is there a better way of displaying that alert message?

1

1 Answer 1

3

Instead of displaying such alert messages it is a good practice to provide an undo feature (see https://goodui.org/home.php#8).

Imagine that you just pressed an action button or link. Undos respect the initial human intent by allowing the action to happen smoothly first and foremost. Prompts on the other hand suggest to the user that he or she does not know what they are doing by questioning their intent at all times.

1
  • Whilst your answer might be correct, you should provide block quote of the key content that addresses the problem in your post as links can often change URLs. Jun 14, 2018 at 13:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.