Who will pay for pedestrians if there is no foot path available beside the roads.?

In many places i witness no clear walkway available for pedestrians, especially at the places where the road works are going on.