Should pedestrian safety gates swing inwards or outwards?

Safety gates should always open away from the hazard, as the operator has to step backwards first to open the gate rather than just walking straight through the gate and into the path of a potential hazard.