Re: switched light on a wall
Even though it may not be addressed (I'm not aware of any codes for this) it might be a good idea to consider its location. If you can't mount it high enough to prevent head injury try to locate it where it is least likely to be a hazard. Keep in mind the surrounding environment so you don't create a fire hazard from the dissipated heat of the light fixture.
Bob