Yes it is always the dogs fault, because it has not been properly trained, but I have yet to hear of an owner who was responsible for the actual attack at the time.
Why should every parent have to keep pets so that their children can learn how to act around dogs. Would you have a dog in every childs' home, no matter whether it is suitable or not, whether the family can afford it? That really taking it too far.
What about the adults attacked by dogs? I was attacked by two, thankfully, muzzled dogs, a sure sign that they were not safe in public. I was walking beside a stream on a narrow public footpath. When I saw these two fierce dogs, and their owner, who was clearly having difficulty controling them. I stood absolutely still and quiet. The path was too narrow to move out of reach. When the dogs reached me, both leapt up at me, the snout and muzzle of one hit my arm very hard and I had a bad bruise on my arm for weeks and weeks before it finally faded. Had the dogs not been muzzled I would, not could, but would, have been seriously mauled.
This is why I believe that all potential dog owners should have to get a licence based on an online course and no one, commercially or privately should be allowed to sell/give a dog to anyone until the house has been assessed whether it is suitable for the type of dog wanted. Rescue sites, all, assess the potential owners and the dog before allowing anyone to have one. So I cannot see any problem if that was made officisl.
Of course some people will try and subvert the rules, but doing so should be made a criminal offence. If a dog attacks someone who has subverted the rules they should receive a substantial prison sentence, as should the person who supplied the dog, if they too subverted the rules.