I doubt the shortage is artificial, similar issues with tech recruitment in the US too etc..
If you can explain the gap then you could still fill something in on the form if you’re worried about that, that should satisfy the automated system.
How big is the gap? If you have a gap of 24 months (not sure if it might be 18 months at some places) then there are special returner schemes at various employers for experienced hires. Goldman Sachs started doing this a while ago and IIRC trademarked the term “returnship”. Basically you get a sort of internship/job trial for grownups for say 3 or 6 months, paid at a decent rate more like your old salary and then they might offer a full time role at the end. It’s aimed originally at mothers who’ve taken a career break for child care but isn’t exclusive to women and could just as well be used by anyone who has looked after a relative or simply taken a sabbatical.
I took May to Dec for the build and starting looking in Jan.