The requirements are part of a federal law that was passed in 2008 after Virginia Graeme Baker, the granddaughter of former U.S. Secretary of State James Baker, died when the suction from a spa drain trapped her underwater.

Officials with the Alameda County Department of Environmental Health estimate that 40 percent of the public pools in the county are not in compliance with the new rules.