The access opening should be located in a hallway or other readily accessible location and minimum 22 x 30.
Attic receptacle requirements.
As noted in sec.
The receptacle shall be located on the same level and within 7 5 m 25 ft of the heating air conditioning and refrigeration equipment.
This switch can control either a ceiling light a wall light or a receptacle for plugging in a lamp.
Receptacle outlets shall be installed as specified in sections 210 52 through 210 64.
The ceiling fixture must be controlled by a wall switch rather than a pull chain.
Monday june 18 2018 the nec national electrical code specifies at 210 70 a 3 that any attics underfloor spaces utility rooms and basements have at least one lighting outlet but only where these spaces are used for storage or contain equipment requiring servicing.
The attic wiring should be protected and secured to ceiling joists or other wood structural supports.
Also it may not be as simple as stapling the wiring to the structural members.
Minimum vertical height of 30 inches measured from the top of the ceiling framing members to the bottom of the roof framing members.
Nec 2008 394 12 uses not permitted.
Concealed knob and tube wiring shall not be used in the following.
210 70 c in other than dwelling units at least one one lighting outlet containing a switch or controlled by a wall switch shall be installed in attics or underfloor spaces containing equipment requiring servicing such as heating air conditioning and refrigeration equipment.
The following links will assist you with your electrical question.
If the attic space is smaller than these specs then an access hatch is not required.
Wall receptacles may be placed no farther than 12 feet apart on any wall surface.
Yes this should be corrected and it would be good to have the wiring and all the circuit connections inspected as well.
Where gfcis are required gfci protection is required for 125 volt to 250 volt receptacles supplied by single phase branch circuits rated 150 volts or less to the ground.
The receptacle outlet shall not be connected to the load side of the equipment disconnecting means.