Why Did Arrow Keys Stop Working? Uncovering the Tabindex Trap in Ant Design Tabs
A front‑end engineer investigates a client’s complaint that arrow‑key scrolling fails on a page, discovers the issue stems from Ant Design’s Tabs component assigning tabindex=0 to TabPane elements, which hijacks focus, and outlines how proper tabindex usage restores expected keyboard navigation.
