I think we also need to consider the implications of the current trend of online shaming, and how it could do more harm than good.
I remember seeing a picture on social media of a child abandoned in a booth at a restaurant, with parents nowhere to be seen. Except things weren't as they seemed - the parents were at the buffet and the child was never out of their sight. The person who decided to be judge and jury simply saw something, took a picture, and recommended people share it to shame the "irresponsible parents". Never mind checking the facts, never mind finding out if the child needs help or if the parents are nearby, just take a picture with your phone and shame someone online. Sadly once that sort of thing gets out it's impossible to take back.
Likewise after the issue with the Covington Catholic schoolboys and the Native American in DC there were people "naming and shaming" the boy concerned, trying to make sure he would never have a job in his life, wanting him expelled from the school, and so on. Even if the boy did everything he was accused of doing and then some, having his entire life ruined seems like a huge overreaction - it's as if people think they themselves are perfect in every way. And then came the people sharing and reposting pictures that named him, except many of them got the name wrong. Good job guys, now a perfectly innocent boy who may not even have been in DC has his name all over social media as he gets branded a racist, with little opportunity to defend himself. What happens if some genius finds out more and posts his home address online?
If a child comes to harm because they were left in a hot car the chances are there are existing laws about child abuse to cover the situation. If we ask for more laws we should be careful what we wish for, lest we find that a well-meaning law is enforced unwaveringly and becomes the equivalent of getting a ticket for rolling through a stop sign when you can clearly see there's nothing else moving within half a mile in all directions. Except instead of a moving violation ticket, now you're branded a child abuser for life even if the child came to no harm.