Legislation could make ballots more secure