-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
🐛 Type: BugSomething isn't workingSomething isn't working📦 Scope : ComponentsRelated to the componentsRelated to the components
Description
HeroUI Version
2.2.24
Describe the bug
When using the isVertical prop or placement="start" | "end" in the tabs component, the rendered tabs list incorrectly sets aria-orientation="horizontal".
As a result, vertical tabs only respond to Left and Right arrow keys, and not Up or Down, which breaks expected accessibility behavior for keyboard users.
Your Example Website or App
https://www.heroui.com/docs/components/tabs#vertical
Steps to Reproduce the Bug or Issue
- Render a
- Focus on the first or any other tab.
- Press ArrowUp or ArrowDown.
- Nothing happens since only Left and Right arrows move focus or selection.
Expected behavior
As a user, I expected vertical tabs to have aria-orientation="vertical".
Keyboard navigation using Up and Down arrow keys.
Screenshots or Videos
No response
Operating System Version
mac
Browser
Chrome
Metadata
Metadata
Assignees
Labels
🐛 Type: BugSomething isn't workingSomething isn't working📦 Scope : ComponentsRelated to the componentsRelated to the components