do they ever factor in multiple years not working at a workplace due to kids, affecting salary levels?
No. That would be telling the truth and they can’t have that.
My wife, has a degree in accounting, but has chosen to stay home and raise the family. She has a part time job as a teacher’s aid which doesn’t pay much. She could easily be making 5x.
When all factors are taken into account, the wages are roughly equal.