It’s not inadvertent. Businesses can collect aggregate statistics on race, disability, and veteran status as part of the application process. The responses are anonymized and not visible to hiring managers (except for veteran status, which may be used to provide a positive bias towards veterans for certain roles).