When you compose a question/answer on a StackExchange site and then navigate away before submitting it, you get a popup, warning you:
The "Leave Page" button is selected by default.
Is this really the correct choice?
I think the "Stay on Page" button should be the default one.
I just composed a question: I finished a sentence and wanted to start a new paragraph by hitting Enter two times. However, while finishing the last sentence I accidentally hit the key combo for "Page back" in Firefox. Instead of navigating away, the warning popped up, but thanks to me hitting Enter (immediately after) I confirmed the default action → I navigated away and lost my question draft.
I think it boils down to the choice between:
- 1 more click for users that really want to navigate away (after they have entered some data into a form!)
- No data loss for users that accidentally try to navigate away