(a) Accessory buildings; attached. (1) Where an accessory building is attached to the principal building, a substantial part of one wall of the accessory building must be an integral part of the main building or such accessory building must be attached to the principal building in a substantial manner by a roof, such as a breezeway or roofed passage. (2) Such attached accessory building shall comply in all respects with the requirements applicable to the principal building. (b) Accessory buildings; detached. (1) No detached accessory building shall be located on the front yard of a lot. (2) A detached accessory building shall not be constructed closer than three feet to the side and rear lot lines. (3) A detached accessory building shall not exceed 12 feet in height, nor occupy more than 35 percent of a required rear yard. (c) Other accessory structures; fences, walls and hedges. (1) In any residential district, no fence or structure shall be maintained within 25 feet of any corner street intersection, nor beyond the front building line. (2) No fence, wall, structure, or hedge, or other continuous planting shall be erected, placed or maintained on any lot line or within any front, rear or side yard not more than eight feet in height, measured from the natural contour of the ground adjoining lots or the particular lot (whichever is lower), except as follows: a. Where a residential lot abuts a business or industrial lot upon which a business is located; or b. Where peculiar circumstances warrant approval as a hardship variance by the planning advisory board, with the exception that the building, planning and zoning director may approve variances from maximum fence height requirements in accordance with the requirements in chapter 9, Appeals.