We are using jQuery UI 1.7.2 in a simulation and are using accordions in a simulated email client. The accordions appear in the colorbox lightbox/ modal. We want the style of the accordions to change once a user has
opened it and were hoping to accomplish this with the :visited pseudo-class. But, it appears that by default all the accordions get the :visited pseudo-class styling applied to them whether they have been opened or not. Any insight into why this is and how it may be remedied?