Democracies accommodate social diversities when it is well understood that democracy is not just the rule of the majority, and that the rule of the majority is not just the rule of a single religious or a single community.
Democracy does not believe in any kind of discrimination among citizens on grounds of caste, religion, colour, sex, race, etc. It accommodates all social diversities.