Until 2021, EU law offered workers in the UK a range of protections, including limits on working hours, annual leave, equal pay, maternity rights and parental leave, protections for agency workers, health and safety, and protection against discrimination in the workplace.