An enthusiastic boy pushes a shopping cart containing a smiling boy.
A boy is walking on the street
Nothing says that the boy is walking on the street.
Just because a boy is pushing a boy in a cart does not mean they are walking on the street.
You're usually walking when pushing a shopping cart, but you can also run. Also shopping carts aren't always pushed on the street; the boy could have been pushing it inside the store.