Trouble is, a lot of companies disallow election day requests for time off specifically to disenfranchise their employees.
Yes it's quite illegal, but that doesn't matter if you can't get a lawyer to assert your rights, or don't have the bargaining power to get another job after they fire you for making a stink.