Artificial intelligence isn’t always intelligent enough at the office.

One major company built a job-applicant screening program that automatically rejected most women’s resumes. Others developed facial-recognition algorithms that mistook many black women for men.

The expanding use of AI is attracting new attention to the importance of workforce diversity. Although tech companies have stepped up efforts to recruit women and minorities, computer and software professionals who write AI programs are still largely white and male, Bureau of Labor Statistics data show.

Click on The Wall Street Journal for more.