(A) A swimming pool shall be completely enclosed by a fence erected along the periphery of the swimming pool and any immediately adjacent walk, deck or terrace area appurtenant to the swimming pool. The fence shall be at last 36 inches in height and shall be designed and constructed to render the swimming pool inaccessible to children under six years of age. All fence openings shall be equipped with gates and all gates shall be equipped with self-closing devices and shall have latches.
(B) Swimming pools shall be exempt from the requirements of division (A) above if they are above ground level in whole or in part, and if they have a walkway or deck area greater than 30 inches in height with integral guards or rails and a means of egress which can be removed and locked while the swimming pool is not in use. Persons with these exempt pools shall ensure than ladders and other means of ingress or egress are kept removed or locked when the swimming pools are not in use.