I created a horizontal grid containing multiple cards that scroll smoothly using CSS scroll-snap functionality when navigated with a mouse or touchscreen.
The issue arises when attempting to navigate the grid using a keyboard. After moving through the grid with arrow keys, pressing tab causes the view to jump back to the element that received focus, rather than staying on the currently snapped card.
My desired outcome is for tab to focus on the card that is currently in view.
Does anyone have any suggestions on how to achieve this?