Actually this is correct the nec does not mandate that the switch must be on the doorknob side of the swinging door per se just that a switched outlet ie.
Nec light switch to close to shower door.
As designers and installers of bathtub and shower areas continue to create new and dynamic designs for bathrooms the nec will continue to apply necessary safety requirements for these areas.
The nec does not indicate that a switch.
A light switch is a switch most commonly used to operate electric lights permanently connected equipment or electrical outlets.
In other words unless the switch is already built in to your shower assembly from the manufacturer adding a switch inside a shower is a code violation.
The switch location in the drawing would be considered a dry location.
If the bathroom is small and there are limited locations for light switches or the light switch will be place near the opening to the bathtub or shower then the circuit will be required to be protected by gfci.
A surface mounted switch or circuit breaker in a damp or wet location shall be enclosed in a weatherproof enclosure or cabinet that shall comply with 312 2.
A flush mounted switch or circuit breaker in a damp or wet location shall be equipped with a weatherproof cover.
Light or recept has to be present in certain locations the code contains the requirement for the location of the lighting outlet but does no specify the location for the switch.
404 4 c does not allow switches within the shower or bath space unless the switch is part of a listed assembly.
Switches shall not be installed within wet locations in tub or shower spaces unless installed as part of a listed tub or shower assembly.
Please note that the definition of a dry location states that the location may be temporary subjected to wetness or dampness.
Ec ode is a staff engineering associate at underwriters laboratories inc in research triangle park n c.