This article needs additional citations for verification
. (December 2012)
Anti-discrimination law or non-discrimination law refers to legislation designed to prevent discrimination against particular groups of people; these groups are often referred to as protected groups or protected classes. Anti-discrimination laws vary by jurisdiction with regard to the types of discrimination that are prohibited, and also the groups that are protected by that legislation. Commonly, these types of legislation are designed to prevent discrimination in employment, housing, education, and other areas of social life, such as public accommodations. Anti-discrimination law may include protections for groups based on sex, age, race, ethnicity, nationality, disability, mental illness or ability, sexual orientation, gender, gender identity/expression, sex characteristics, religious, creed, or individual political opinions.
Anti-discrimination laws are rooted in principles of equality, specifically, that individuals should not be treated differently due the characteristics outlined above. At the same time, they have often been criticised as violations of the inherent right of free association. Anti-discrimination laws are designed to protect against both individual discrimination (committed by individuals) and from structural discrimination (arising from policies or procedures that disadvantage certain groups). Courts may take into account both discriminatory intent and disparate impact in determining whether a particular action or policy constitutes discrimination.