Texas employment law prohibits discrimination based on certain protected categories. Harassment in the workplace is also a type of discrimination.Discrimination is illegal when it is based on a "Protected Class" or "Protected Classification. A charge of discrimination is a signed statement asserting that an employer, union or labor organization engaged in employment discrimination. The law makes discrimination illegal in all employment practices. Discrimination is when someone is denied equal rights due to a protected trait. Learn about the Equal Pay Act, Brown v. Employment discrimination happens when a worker is treated differently than co-workers. A charge of discrimination is a signed statement asserting that an organization engaged in employment discrimination. Texas law makes it illegal for an employer to discriminate on the basis of race, color, national origin, religion, sex, age, or disability. 2.