[Tabs] Can't focus tabpanel via keyboard if it doesn't contain focusable items #591
Labels
enhancement
New feature, or improvement to an existing feature.
Milestone
Bug Report
Current Behavior
When tabbing through Tabs component, the tabpanel content should be reachable via keyboard. If the content does not contain any focusable elements, then the user cannot reach the content of active tab. To make sure that's not the case W3C suggests adding
tabindex="0"
on tabpanels:https://www.w3.org/TR/wai-aria-practices/examples/tabs/tabs-1/tabs.html
Expected behavior/code
User can reach tabpanel content via key sequence.
Environment
Possible Solution
Add
tabindex="0"
on tabpanels.The text was updated successfully, but these errors were encountered: