I don't know what these "groundwater accidents" could possibly be. 99 percent of all groundwater is no deeper than about 500 feet. Most of your fracked wells are around a mile deep, give or take.
Primarily surface spills of frac fluid or salt water due to a line bursting under pressure, a fitting failing, or a vehicle accident.
Keep in mind that no one working near equipment with 5-6000 psi on the inside wants that to get out in an uncontrolled fashion, and if the release of that pressure is controlled, it is going where you want it.
Surface spills are commonly contained by the construction of the well pad (impermeable layers, dikes), but when that is not the case, wells are sunk around the pad to flush the water table and recover the contaminants.
The most common spill involves salt water from production, and that is usually contained.
I'm not including pipeline damage or leaks in this, because that is a transportation matter and doesn't have anything to do with the hydraulic fracturing process.
Most of the oil wells are between 7,000 and 11,000’. Most gas wells are between 9,000 and 14,000’. The Haynesville Shale wells between Nacogdoches and Shreveport are 11,000 to 14,000’.