A crash has blocked a road in the Bradford district.