What the teachers should have done is not sign their contracts for next year.
Walking out makes the public angry with them. But if they collectively said we are not signing our annual contract until we get a better situation it would have been just as impactful, but also allowed time for a sensible solution.