1. Accessory structures shall be permitted only in rear yards, except as otherwise provided in this ordinance. In a residential district, accessory uses customarily located within front or side yards of residences are the following: walls and fences as permitted herein, mailboxes, driveways, walkways, lamp posts, landscaping, vegetable gardens, provided they do not exceed 30 percent of the front yard, and basketball goals adjacent to driveways. No accessory uses or structures, except driveways, mailboxes or minimal landscaping shall be in a public right-of-way. 2. Accessory uses customarily located in rear yards of residences are the following: storage buildings, patios, swimming pools, dog runs, dog pens and houses, detached garages, tennis courts, playground equipment, fences and walls as permitted in section 700. Any accessory use or structure, except walls, fences, driveways and landscaping, shall be set back not less than five feet from any lot line, or not less than the distance established by other portions of this ordinance. 3. No accessory structure shall be erected on a lot prior to construction of the principal building to which it is accessory. 4. In residential districts, unless otherwise allowed by this ordinance, no accessory building shall exceed 1,400 square feet and the total floor area of accessory structures shall not exceed 50 percent of the principal dwelling on the lot. 5. No accessory building shall be utilized unless the principal structure is also occupied. There shall be a distance of not less than ten feet between a principal and accessory building located on the same lot or parcel unless the principal building and the accessory building share a common wall.