"When" and "Where" when we talk about hypothetical situations

I feel this to be a simple issue. “When” relates to time and “where” to place. The two are often interchangeable but if you need a rule, stick to the simplest.

Use “when” if you are talking about when (in time) circumstances or occasion demand attention to the punctuation.

Use “where” if you are talking about places in writing where attention is needed.