Button

Is using a hyperlink to close a modal a poor design decision?

Is using a hyperlink to close a modal a poor design decision?
  1. Should modals have a close button?
  2. Should cancel be a button or a link?
  3. In which scenario do we prefer to use a link instead of a button?

Should modals have a close button?

Closing the modal: Always provide a clear close option for users by using a button or an 'x' icon at the top right of the modal.

Should cancel be a button or a link?

To summarize

The cancel option is similar to aborting an action, and therefore similar to navigating back to the previous state of the UI. Navigation is represented in web UI as hyperlinks, and thus the cancel option should be a hyperlink.

In which scenario do we prefer to use a link instead of a button?

There are differences as to when a button should be used rather than a link. UX Movement wrote an article about this, and they came up with a simple rule: Buttons are used for actions that affect the website's front-end or back-end; links are used for navigation and actions that don't affect the website at all.

Confirmation messages
What do you say when you get Confirmation? What do you say when you get Confirmation?Bishop: Dips his right thumb in the Chrism and makes the sign o...
How to determine Minimal Detectable Effect for AB Test with Click-through Rate as success metric?
How do you choose the minimum detectable effect?What is the minimum detectable effect in relation to hypothesis testing?When running an A B test when...
Global Settings Menu VS Context Settings Menu
What is global context menu?How do I access global context menu?What is local context menu in Android?How do I turn off TalkBack global context menu?...