Children drowning is tragic, but this is nanny-state stuff. Are we to wrap literally any pond, lake, stream, fountain, etc. with a four-foot tall fence, because children exist? Imagine Central Park, but with the ponds surrounded by chain-link fences -- now that I think about it, I'm sort of amazed that New York City (where every other building is perpetually surrounded by ugly and useless scaffolding because one person died from falling bricks once) hasn't actually done this.
At some point, parents have to take personal responsibility for where their children run off to. Per TFA, the state the story took place in already had a law stricter than the one you're saying should exist [1]. It didn't prevent this incident. To the author's credit, this is not a plea for better laws, but rather, one for better parental supervision -- they knew there was a water feature, and still let the child run free.
So, PSA: teach your children to swim, and keep a close leash on the ones who don't know how yet.
[1] In many states (including PA, apparently, per TFA), it's already required that you wrap any standing water greater than 24" deep with a fence, even if you don't have children or ever intend them to be there.