Electrical – Is it a violation of NEC code to install a receptacle horizontally and 3/4″ from face of a stud

electricalframingnecwiring

A wall has been framed out to mount a touch screen computer monitor. Once the 1/4" drywall is installed, the monitor will be placed into this cavity and plugged into said receptacle.

Question

Does the receptacle shown in the pictures below meet NEC code? If not, whats is the proper way to install the receptacle in recessed stud framing?

Side view of Recepatcle

Overhead view of receptacle

Best Answer

Provided the mount and cables allow the monitor to be readily removed to gain access to the box, this should not be a Code issue -- the basic requirement is that all junction boxes be readily accessible (i.e. you shouldn't have to tear apart the building to find 'em).