Sorry, but this breaks pedestrian routing. It is legal to cross there and the fact that it is dangerous is not taggable per se. This should go on another tool/layer than OSM. And dangerous is relative. Please never delete higways before asking the community unless there is a physical barrier or a sign saying it is forbidden to cross there.