I don’t think secrecy is as important as honest elections....but that is just me.
With out a secret ballot the election is not honest. I remember voting in Gary , Indiana where there were goons watching to see that you voted the way they wanted you to vote.