The only answer is for everyone to have to pass a test in Highway code basics, otherwise they are not allowed to use public thoroughfares without an escort or wearing reflective clothing marked clearly "avoid me I may not know what I'm doing". Needless to say, the more advanced your needs (e.g. horse/bicycle as opposed to pedestrian), then additional tests will need to be passed.