Currently, I am working on enhancing the accessibility of my website by improving navigation using the tab button. I have implemented tabindex to manage this, but I have noticed that elements with tabindex display an outline both when clicked and when focused on via tab. I would like to remove the outlines when they are clicked (or dragged), while keeping them visible when tabbing through.
Is there a possible solution, perhaps utilizing CSS, to address this issue?