@FannyCann firstly some good news for what is a sad case, the Shared Parental Leave Regulations 2014 use Mother throughout. The legislation also refers to father but also partner with the definition of same sex, Civil Partnership etc.
Thankfully, the legislation was obviously written before the transgender debate had gained any traction.
As the law currently stands mothers must have the first two weeks after the birth as maternity leave and pay. After that date they can opt to give up some or all of their SML and SMP for SShPL and SShPP. For some reason the SPL legislation does not permit it to transfer to the father if the mother dies - that must be a gap in the legislation that should be quite easy to fix. Good on the MP for raising it.
Personally I understand the language used but get why it irritates, my opinion as someone who writes HR policy is mother and partner which covers same sex relationships, Civil Partnerships, Marriage and unmarried heterosexual relationships,