It's not supported by signs to add `foot=no` when it is not signposted. `sidewalk=no` is sufficient at first. 
There are many roads where it is not realistic to walk or bike, but have no signposted bans. 