Editor's note (2026): This post dates from 2014. We've removed a demo link that went through a third-party redirect and outdated browser claims (IE7). Check the project's GitHub page for its current status before using it.
Responsive Tabs is a jQuery plugin that provides tabs which automatically turn into an accordion at a CSS breakpoint, a neat way to show tabbed content on desktop, tablet, and mobile.
Features
- Tabs become an accordion based on a breakpoint
- jQuery handles tab switching (class-based)
- CSS controls the desktop, tablet, and mobile views
- Callback events for tab actions
- Tabs can be opened with URL hashes
- Optional auto-rotation
- Optional collapsible tabs, which can start collapsed depending on the view
- Works across devices
Learn more and download it from the project's GitHub page.
Accessibility tips
Whatever tab component you use, make sure it follows the WAI-ARIA tabs pattern: use role="tablist", role="tab", and role="tabpanel", and let keyboard users move between tabs with the arrow keys. For simple accordions, the native HTML <details> and <summary> elements work without any JavaScript.
Need help organizing your website's content so visitors find what they need? I.T. For Less can help — contact us.