I don't think this is just women, tbh, men I know who are looking for jobs at a similar age - even without a gap in employment, but needing to change sectors for example - report very similar problems.
I was myself a child who hated care. Not autistic, I just found it too much all day to be with so many people, and my mum ended up putting me in care in a home. I hated that as well,but not so much. I always, always felt that I was in someone else's home and could not relax, was not safe and secure, had to be on my guard. And I know my mum worked really hard to find a good situation for me. Some of my earliest emotional memories are around feeling displaced at a babysitters. I found school in the first few years overwhelming too, and even at 12 when I couldn't go home any more at noon to eat, I found it a difficult change because it was just too noisy all day.
I suppose this was part of what influenced me to home educate my kids through most of the early years, apart from the youngest, as I had to go back to work.
I actually don't mind a "motherhood" pay gap. I don't think there is a really fair way to get around the fact that years not working impacts your pay and seniority. I am happy with the job I have and I've done well with it. I made a choice to have kids and I wanted to stay with them, myself. I found that very satisfying as well, and I also took my friend's two kids through their early years while he worked and his wife was ill, and they have a very close relationship with my kids. Different paths lead to differernt places, and that's ok by me.
But I also am not the "dependent" in my marriage in the sense that we don't have separate money and we functions a unit, and always have. My role has never been less important than my kid's father's role.