The solution here is to regulate hiring practices, not access to information.
For example, in the US, it is not legal to base a hiring decision on whether an applicant is married. Anybody can search newspaper archives for marriage announcements, but we don't ban newspapers.
My point still stands. How do you know that I didn't hire you because I hate gays but I tell everyone I didn't hire you because of that one Java question you got wrong. It's very very hard to prove and can be expensive to take to take to court.
People like you with your rosy view of the world make it hard for people with real problems to get by.
The solution here is to regulate hiring practices, not access to information.
For example, in the US, it is not legal to base a hiring decision on whether an applicant is married. Anybody can search newspaper archives for marriage announcements, but we don't ban newspapers.