Earlier quoted context omitted.
That's not a solution. There is no practical solution for this, and has not been for the millennia on human history; it's only been in the recent decades where we've been able the hallucinate about knowing about toxins in our daily lives. Legislation is just paper, you have no enforcement mechanism beyond what you already have currently: suing companies on a case by case basis.
Uh, it used to be until it was gutted in the last 30 years. Legislation and bureaucracy has been one of the most successful interventions for public health for centuries. Read about the hole in the ozone layer. Banning lead paint. Read about the invention of public water authorities. Read Silent Spring and read about its aftermath. Look into the history of air pollution and the EPA. These are some of the crown jewels…
Passing legislation without the latter is meaningless, and if you have the latter, you don't necessarily need legislation; the free market will force a correction (although politicians will follow the will of the people anyway).
You cannot achieve that across the countless toxins and/or potential toxins that exist in our world; the public does not have enough attention to spare for that.
Or to put it more simply, regular people don't have the time or energy to spare on worrying about every little thing that could potentially, maybe be toxic, in some tiny way over decades.