Coercion is a problem even with paper ballots, though. I could force you to take a picture with a cell phone of who you voted for on threat of violence.
Let's say you're in the voting booth and have taken the picture. You can then do at least one of the following:
- Exchange your ballot for a blank one and fill it out again
- Fill in the check box and vote for your real candidate
- Spoil your vote