This obviously would not survive a court challenge. Wearing an Obama or McCain shirt on election day is protected free speech. I hope someone tries walking into a polling station with a political shirt on and gets stopped and then gets an injunction against the commonwealth. This is absurd.
“RICHMOND, Va. (AP) — Virginia voters won’t be allowed to wear clothing featuring John McCain or Barack Obama when they head to the polls on Nov. 4“