Fake Tabs
List of navigation links styled to look like tabs.
Last updated
List of navigation links styled to look like tabs.
Last updated
Fake tabs have the appearance of dynamic tabs, but perform a full page load when clicked.
Experience the pattern in action on our companion eBay MIND Patterns examples website.
Examine the required markup structure on the bones GitHub project.
View a fully styled example on the eBay Skin website.
Fake tabs is a navigation pattern. The "tabs" are simply a list of links with no additional JavaScript behaviour. For dynamic tabs that hide & show content, please consult the disclosure tabs pattern.
This section provides interaction design for keyboard, screen reader and pointing devices.
Tab key navigates the fake tabs.
The currently "selected" fake tab can remain in the tabindex.
Enter key activates a fake tab (i.e. it navigates to the link href).
Upon entering the list, the number of list items will be announced.
The "current" fake tab should be announced as the "current" item (exact words may differ depending on the screen reader).
Fake Tabs require no JavaScript, they are simply an ordered list of links.
Fake tabs may optionally be wrapped inside of a navigation landmark region to aid discoverability.
aria-current: provides AT with programmatic state on the fake-tab that reflects the current URL.