Header Component Test

Testing Instructions

  • Test the header above (with red border for visibility)
  • Desktop: Hover over "Features" to open MegaMenu
  • Mobile: Click hamburger to open mobile navigation
  • Test keyboard navigation (Tab, Enter, Space, Escape)
  • Resize browser to test responsive breakpoints

Desktop Navigation Tests

Test at viewport width >= 768px (md breakpoint).

MegaMenu Hover:

Hover over "Features" to open the mega menu panel.

Keyboard Navigation:

Tab to "Features", press Space/Enter to toggle, Escape to close.

Navigation Links:

All desktop nav links should be visible: Features, Blog, Docs, Pricing, Contact.

Buy Button:

Desktop buy button should be visible on the right.

Mobile Navigation Tests

Test at viewport width < 768px (below md breakpoint).

Hamburger Menu:

Hamburger icon should be visible. Click to open mobile nav.

Mobile Buy Button:

Buy button should be visible next to hamburger.

Accordion Sections:

Mobile nav should have Features, Configuration, Resources sections.

Body Scroll Lock:

When mobile nav is open, body should not scroll.

Accessibility Tests

ARIA Attributes:

Check aria-expanded, aria-haspopup on trigger buttons.

Focus Management:

Focus should be trapped in mobile nav when open.

Screen Reader:

Test with VoiceOver/NVDA for proper announcements.

Scroll Test Area

Scroll down to test sticky header behavior.

Scroll test content