The real killer here is the crazy American on street parking, which limits visibility of both pedestrians and oncoming vehicles. Every school should be a no street parking zone. But parents are going to whine they can't load and unload their kids close to the school.
Plenty of American cities regulate or even eliminated, in various measures, on-street parking.
Result? No more safe places to cross, drivers are not stopping for pedestrians when no cross walk. They added parking zones right up to the old cross walks that pedestrians still use (since it were the safest places) where vans are regularly parked and obscure the entirety one side of the road. Even outside of these shared zones, there are lots lots lots of places where parking space is obscuring the crosswalk, where huge vans park right on it, even though legally you have to be 5+ meters away. Never seen a cop give a ticket for that in my life.
One day someone will get killed right there, I'm sure of it, and it'll be mainly the city's fault.
It doesn't stop all on street parking beside the school, but it cuts it down a noticeable amount.
I guess you could keep doing that until kids just walk to and from school?