Here if the switch is within 6' they must be grnd. fault protected. 3' or less, it is not permited at all. I have always wondered.. can gets enough steam, gfi. trips. Then you are left in the shower with no light. That to me seems more dangerous.
John