The Equality Act says you must not be discriminated against in employment because you are married or in a civil partnership.
In the Equality Act marriage and civil partnership means someone who is legally married or in a civil partnership. Marriage can either be between a man and a woman, or between partners of the same sex. Civil partnership is between partners of the same sex.
Following is a short film by the Equality & Human Rights Commission titled ‘What is marriage & civil partnerships discrimination?’.