technically speaking  highway=pedestrian (and area=yes) theoretically is routeable to routers along the edges and drawing ways through it is actually a violation.  i don't like this at all but apparently to some validation tools it's okay.
https://wiki.openstreetmap.org/wiki/Tag:highway%3Dpedestrian