Twitter, meanwhile, was criticized last December when it appointed a white man to be its head of diversity.