You really don't have to emphasize the accident since it's just been mentioned. It's quite clear what accident is meant and "an accident" emphasizes (focuses on) how they met, rather than what particular event that was. In conclusion, "the" would not be grammatically incorrect but unnusual.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.