Will the dismissal of an employee who is taken on temporarily to cover maternity leave be fair?

The dismissal of a temporary employee recruited to replace a permanent employee who is absent from work on maternity leave will be treated as fair so long as the temporary employee is advised in writing, before their employment begins, that the appointment is for that specific purpose and that the contract will be terminated once the regular employee returns to work. The employer must carry out a fair procedure in dismissing the employee, even at the expiry of a fixed-term contract. For example, it should consult with the employee and consider whether or not there is any alternative employment for them.