Closed mlmoravek closed 9 months ago
@mlmoravek would you like to work on it?
@jtommy I just had time to look at your implementation. You misunderstood the issue. You added the tabindex="0" to the div in the "nav-content" section element. But it should be on the "nav-item" div element to change the active tab by keyboard.
Thanks for your review @mlmoravek will work to improve a11y following your suggestions
Description
Currently the tabs of the Tab Component can't reached by keyboard tabs by default.
This can be solved by adding
tabindex="0"
to the TabsItem Component.Furthermore, the TabItem could also additionally get
role="button"
to get the HTML element appear as a button to screen readers.Why Oruga need this feature
Improve Accessibility