A crash has partially blocked a road in the Bradford district.