A judge granted initial approval Friday to a settlement in which companies that manufactured or sold contaminated pet food would compensate pet owners for all costs related to the death or illness of their dogs and cats.

Under the deal, granted initial approval by U.S. District Judge Noel Hillman, pet owners in the United States and Canada would be notified of the settlement by June 16 and would have until early December to submit claims. A final hearing on the $24 million settlement is scheduled for Oct. 14.