A class action alleges Facebook Inc. fails to provide a safe workplace for content moderators hired by a Boca Raton-based contractor, claiming they were traumatized while weeding out graphic content depicting child abuse, suicide and other violent acts.

Filed in California’s San Mateo Superior Court on Friday, the lawsuit seeks to represent thousands of California residents who deleted Facebook content over the past three years and allegedly suffered psychological trauma by viewing thousands of videos and images of “child abuse, rape, torture, bestiality, beheadings, suicide, murder and other forms of extreme violence.”