Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(.\components\tablist\tab-list.tsx): fixes a11y rule "interactive-…
…supports-focus" warning The changes include adding tabIndex={0} to elements with role="tab" to ensure they are focusable for keyboard navigation, addressing the accessibility warning (jsx-a11y/interactive-supports-focus). Additionally, an onKeyDown handler was introduced to allow keyboard interaction, enabling users to select tabs using the Enter or Space keys. These changes improve both accessibility and user experience by making the tabs keyboard-accessible. fixes open-sauced#4138
- Loading branch information