Nearly everyone on the planet agrees that you need to show an ID and demonstrate that you are a citizen to be able to vote in an election, including predominantly Black countries. It was never racist to ask for an ID to vote. You would only oppose it if you want to cheat.