Actually, area:highway=footway  implies that they must be connected. Routers won't even try to use it.

There is also highway=pedestrian which is a bit different, but as I've said, not all routers support it.