Teachers strike legal