Re:How to Make Sure Users Don’t Accidentally Delete
by erik14th on Saturday February 01, 2014 @01:07AM
(#7161019)
Is there any reason that concept is so rarely used in the web?
Well, there's usually an undo functionality in desktop-like web apps but most CRUD lack that kind of feature.
1 - use the correct dialog button layout: cancel on the left, confirm on the right. always.
2 - default to the cancel button - highlight / color it & attach to the enter key
3. show an alert icon - something obvious, don't just show plain text
4. if it's really serious, allow undo / history