Orbit is Foundation’s carousel for hero rotators and image galleries. The root div.orbit carries data-orbit; slides live in ul.orbit-container as li.orbit-slide items. Previous/next buttons and bullet navigation are part of the component—not something you should rebuild from scratch on every marketing homepage.
Accessibility
Add role="region" and an aria-label on the root. Use show-for-sr text on arrow buttons so screen reader users get meaningful names. Pause auto-advance if marketing asks for motion—many users prefer reduced motion.
Performance
Optimize images inside slides; carousels multiply LCP cost if every slide loads a huge asset upfront.
Self-check
- Which attribute initializes Orbit?
- What element wraps individual slides?
- Why add screen-reader text to prev/next controls?