Candidates from well represented backgrounds are also given two attempts. It depends. In general, most candidates aren't given two attempts irrespective of background.
Many non "diverse" hires are also given two attempts.
Let's put it straight: most diverse candidates are given 2 attempts; while most regular candidates are given 1 attempt.