Hi,
welcome to OSM. When you decide to map sidewalks separately from the carriageway, then please make sure they are connected to crossing roads at intersections wherever pedestrians can cross.

Otherwise, routing engines won't be able to use the sidewalks you've mapped