I recently encountered a bug in tab and accordion interfaces on our website. These tabs have a bit of animation so there is a slight lag between clicking an item, and it being fully open. The bug occurred when rapidly clicking multiple tab items before the animations complete. The result is that while only one tab content is displayed, multiple tab labels are highlighted.
The simplest fix for this is to ignore subsequent clicks until the animations are complete. However, this strikes me as the wrong approach for UX. It makes it seem as though the interface stops responding.
My gut tells me that a better fix would keep the ability to click multiple items but just ensure that the last item clicked, and only the last item, gets highlighted. The interface is still responding, it does what the user asked, even if the user input is a bit chaotic.
Anyways I think I have an answer but I want to check my assumptions here and make sure I'm not missing something.