Suppose, a tech company in the USA uses AI software to test if a candidate has a certain accent (e.g. standard American accent, Southern British accent, etc.). The candidate has to attain a certain score to pass the test irrespective of race, ethnicity, nationality, etc.
Would that be considered discrimination? Would that be a punishable offense?