You and I are almost always in agreement here, but on this one, I think you're being a tad hard on
@Neutrino
This particular light installation is not for the benefit of motorists (in laid in the sidewalk).
Its for pedestrians, and predicated on the notion that they are not looking up to see the colour of the light.
IF the light is red, they (pedestrians) do not have the right-of-way.
If they cross, against a red, they are legally wrong.
I think making that point does not take away from negligent drivers where applicable (which is often) nor bad urban design (common), it simply states that this particular investment is to correct for self-inflicted stupidity.
As a pedestrian, I NEVER look at my phone while in motion. Does not happen.
I don't want to walk into another person, or an open manhole or oncoming traffic no matter who has the right-of-way.
That does not mean we shouldn't seek to improve the safety of crossings, or work on improving the quality of driving, including, but not limited to actions via urban design.
But neither does it mean we shouldn't call out an investment for what it is; the protection of the stupid from themselves.