I agree with everything that has been said.
There are so many dogs now, that even if it's only a minority that are a nuisance when off the lead (and some despite being on a lead), it's still a significant number.
I live in the countryside and walk a lot, so I cross paths with a lot of dogs, and I am not exaggerating when I say that as many as half of those that are unrestrained will race up to me fast enough for that in itself to be frightening ( though I'm not dog-phobic), and will try to make some kind of contact with me, whether it is jumping up, trying to lick my hand, wiping a slobbering mouth or nose on some part of my clothing, or running around me barking.
And we have had our belongings peed on by dogs on beaches. That's never acceptable, wherever it happens.
Something does need to be done. This situation is out of control, and there needs to be some easy legal way of holding irresponsible owners to account, including making them pay for any costs incurred by their animals, whether it is damage to clothing, or vets bills if they have harmed another animal.
This never seemed to be a problem when I was a child. Even the many dogs that were just turfed out of the house to take themselves for a walk never seemed to behave in this way. I don't remember ever being worried when a loose dog approached back then.
It seems that dogs were better behaved before they became so spoilt and pampered, when they were simply allowed to be dogs, rather than pretend children!