I suspect it is the "Role model" problem.
I am told, this is very well researched. And there is overwhelming evidence that role models do solve the problem. I understand UK office of statistics has the numbers that show how to solve this.
So if you are black/female and in IT let the next generation of kids know about it.