Open vasilii-kovalev opened 1 month ago
Pay attention, that current TabButton
implementation has margin-bottom: -1px
hack, to make possible layout when active tab border overlaps container divider. Let's think how to move this hack into TabList
component, but remove it from TabButton
itself, since it can be used in different use cases as with divider and without it.
Description
The TabButton component offers a partially a11y-compliant experience, only providing
role="tab"
for the button.tablist
andtabpanel
role users should assign manually. Keyboard experience should also be implemented by the users.This ticket is a request to provide a complete set of a11y-compliant components (or a single configurable component) for tabs.
Describe the solution you'd like
Behavior to achieve: