To be fair to Labour it was worse under Conservative. It's only in the last couple of years that pay rises in the sector have started to catch up with supply and demand, the lag has caused the situation we are in now. Too many have left, not enough trained up and many of those that did have found the pay is better elsewhere.
Edit to add having just done my tax return (and getting a £300 rebate 👍

I noticed that my total pay has increased by nearly 50% in the last two years!