If a person is charged with contempt under this chapter for violation of a restraining order or injunction issued by a court, the accused shall enjoy all of the following:
(1) The rights to bail that are accorded to persons accused of a crime.(2) The right to be notified of the accusation and a reasonable time to make a defense, if the alleged contempt is not committed in the immediate view or presence of the court.(3) Upon demand, the right to a speedy and public trial by an impartial jury of the county in which the contempt was committed, except that this requirement does not apply to contempts committed in the presence of the court or so near to the court as to interfere directly with the administration of justice or to the misbehavior, misconduct or disobedience of any officer of the court in respect to the writs, orders or process of the court. All contempt proceedings brought for the alleged violation of any such restraining order or injunction are independent, original, special proceedings and shall require a unanimous finding of the jury.(4) A substitution of judge request in this section shall be made under s. 801.58.1977 c. 135; 1979 c. 257; 1997 a. 253. A jury trial is required in cases of criminal contempt when the penalty imposed is serious, but a striker charged with civil contempt for violation of an order enjoining a teachers strike was not entitled to a jury trial. Joint School v. Wisconsin Rapids Education Association, 70 Wis. 2d 292, 234 N.W.2d 289 (1975).