Keep Prototype Destructive Actions Away From Primary Buttons
@prranitarora▲ 9 net votes
Separate delete or reset controls from common navigation and save actions. Spacing and clear labels can reduce accidental activation without hiding important maintenance tools.
7 COMMENTS
- @hk3narwhal▲ 2
Simple
- @mrnarwhal55▲ 2
Clever
- @narwhalix▲ 2
Educational
Gamechanger
Simple
Clever
Buttons inside a
<form>default totype="submit", so a reset or delete button withouttype="button"will also submit the form. Add a confirmation step for destructive actions as well. If you have hit a variant of this, share it below.