I think part of the trouble is build, build, build everywhere. Look at the issues that have arisen in Cornwall. The trick is probably to ascertain exactly where the shafts are, cap them properly, and designate that little patch a garden or grassland etc.
Of course, that does not stop this sort of thing, just stops houses from falling down.
I worked on a number of building sites in Mold / Buckley area of Flintshire in the 1990's where we discovered a number of old unrecorded drifts and shafts when digging foundations - basically a quick re-design of roads and house layouts, and moving the 'green space' areas to be by the newly-capped features !
One in particular that we found in Buckley was quite large - an inclined drift / level, all lined in top-quality brickwork, about 15 ft across and with a slope of 30 degrees or so, and the top few feet had just been rubble-filled !
I seem to recall that was dealt with by rubble and grout filling for a fair depth, and then took 300 cubic metres of concrete and several tonnes of steel to cap it out
Madness takes its toll, please carry exact change