If it’s illegal, it must’ve been changed within the last few years. When I went to do early voting in 2008, I saw several people wearing political t-shirts. The Sarah Palin as Rosie the Riveter shirts were particularly popular.I didn't realize that it was illegal but I did comment to the wife, while in line, that nobody was wearing Trump or Harris clothing.....learn something every day.
The last time I did in-person absentee voting, it was chilly and exceptions was wearing a coat or jacket, so they could’ve all been wearing political shirts for all I could tell.