I don't think the article states precisely how much time, whether 2 years or 20, Colafrancesco took off from work to raise her children.
However, that's not to justify unequal hiring practices if and where such details keep employers from hiring Colafrancesco and women in similar positions.
She likely took off a lot more than 2 years (cbr says 13). Not working in your field for 13 years is a pretty easy way to fall out of touch with the latest practices.
Employers should treat her fairly, which would probably be treating her like a slightly above entry level candidate, since so much of her experience is so dated. If they're refusing to hire her at all, that's a problem. But if they're not valuing her experience from 13 years ago as equal to experience from last year, I understand.