Thanks for this but please observe that as long as you tag a road as"highway=pedestrian", it is de facto open to pedestrians and closed to motor_vehicles.

Please do not force "foot=yes" and "motor_vehicle=no" manually.  I guess you are using the simple online editor, so probably you were just filling drop-down boxes, which then generates those tags.  It’s recommended to ignore them.  The reason is because streets with explicit tags are confusing and flag as potential warnings.
Don’t worry, we cleaned this one.