Anonymity is not the problem (who you are). When people are voting we need confidentiality (what you do).
When you go to the polling station, you may come across your neighbor or friends. You recognize them (no anonymity), but you don't know what they're voting for (this is confidentiality).
have a look here https://lemmyverse.net/communities