(a) All swimming pools, whether above or in ground, shall be completely enclosed by a fence or wall. Swimming pool fences and walls shall be subject to this subsection and shall not be subject to section 1.6.A. entitled "height." The following requirements for swimming pool fences shall be as follows: (1) Fences or walls around all swimming pools shall be not less than five feet nor more than six feet in height and have at least one access gate. All access gates shall open outwards away from the pool and shall be self-closing and have a self-latching device. (2) Fences or rails constructed along the deck of an above-ground pool will not qualify as meeting the requirements of this subsection. A separate fence or wall meeting the requirements of this subsection will be required. (3) Openings in fences shall not allow passage of a four-inch diameter sphere. (4) A swimming pool enclosed within a screened structure shall not qualify as meeting the requirements of this subsection. A separate fence or wall meeting the requirements of this subsection will be required. (b) Swimming pools shall be located a minimum of ten feet from all property lines.