A pedestrian could easily be the cause of a traffic accident for the reasons OP mentioned. They could cause an accident by jaywalking, not obeying pedestrian signals, etc., whereby a driver avoids hitting them and swerves into another vehicle(s).
Who's "the victim" here that should not be blamed?
Or, negligence from the driver, as the OP mentioned.