There's not a whole lot you can do about discrimination. Unless the employers are dumb enough talk openly about what they're doing. They can find any subjective reason they like and claim that's the reason for letting you go. You can try to sue, and sometimes you'll even win, but there's no Job Police SWAT Team that will beat down the door and force them to give you your job back in time for your next mortgage payment.
In light of this reality it's good to avoid policies that incentivize even more discrimination.
They can find any subjective reason they like and claim that's the reason for letting you go.
Oh, believe me, I know. I was dismissed from my last job for having the temerity to take a leave of absence — negotiated in advance with the company, with C-staff level approval — to travel for a few months. When I returned, they presented me with a materially altered performance review (fact-checked with the manager who actually wrote the review), filled with straight-up lies, and said that was why they were firing me.
If you dare to decide the life your job pays for is more important than the job itself, well, there's the door...
In light of this reality it's good to avoid policies that incentivize even more discrimination.