How to collect sidewalks:
A sidewalk is a type of path feature in iD editor. After drawing a line select the Path Features button.
Then classify the path feature as a sidewalk.