Yeah, I understand your point, I believe that's a very cool way of teaching values and morals to children, when they see a fictional hero and say "I want to be cool like that guy"
But then again, why does it need to be the same race, gender, sexuality as you, to feel represented by them?
I'm not saying this to discriminate on inclusion or groups, or whatever. If you think I'm saying this as a white person, saying "I don't like black characters" that's not at all the point, I'm south-american, by the way.
What I'm saying is that I didn't need a latino superman/spider-man while growing up to look up to them and feel represented by their values, ideas, actions, I saw them as role models for who they were, not how they looked like or other superficial traits.
What I mean is, that I believe we should teach people to follow ideas, morals, values, role models, for being perfect examples of humans, being of a certain race, minority or majority or whatever doesn't have anything to do with it. And as kids, myself included, you don't need to see race or the like, you need to see cool humans, and feeling included, represented or whatever won't be based about skin color, we're all literally of the same species anyway. I hope I expressed myself properly, and I took your comment as saying it was a requirement because you asked if the author could make their main character black, or add more black characters, but I would say that we should focus on judging the author's work by the story they're portraying, the writing, etc. And not by the inclusion they're showing or lacking.