I am facing a UX problem and I want to ask for suggestions:
Should I enable 'press enter key to confirm on a delete action' ?
For example, User wants to delete a photo, there is a dialog ask 'Do you really want to delete it?' and the 'Yes' button is primary button. If user click on 'enter' now, it triggers the delete action. It behaves like this, because inside our application, all primary buttons have same behaviors. I think it is nice to keep consistency and provide some patterns user can learn. But use this pattern on a delete actions seems a little unsecure and risky...
Should I make an exception for this delete action? or Should I change 'Yes' to a non-primary button?