It was actually around World War I that these kind of safety issues became well known to the public. The Triangle Shirtwaist fire, the books of Upton Sinclair, and the muckrakers started to bring awareness to a lot of formerly ignored problems like this.