Acas, the public body that advises employers and workers on workplace relations, publishes guidance on sexual harassment. It states: “What some people might consider as joking, ‘banter’ or part of their workplace culture can still be sexual harassment.”
The test is the effect on the person. Unwanted behavior counts when it creates “an intimidating, hostile, degrading, humiliating or offensive environment” for someone.