I never mentioned a crosswalk. Be realistic. How many kids use a crosswalk to cross the street?
That was just an example. Here is another example, if a kid runs out in front of you, and there is no crosswalk, and you change lanes to avoid the kid, causing damage or injuries to someone else, you will be liable. If a dog runs out in front of you, and you cause damages or injuries to someone else in an effort to avoid the dog, you again will be liable.