Popover Accessibility Testing

This page demonstrates the Popover component for Lighthouse accessibility auditing. The popover will open automatically and contains accessible elements.

Interactive Demo

} heading="Popover for Lighthouse Testing" description="This popover is used for accessibility auditing and demonstrates proper ARIA attributes, keyboard navigation, and focus management" open={isOpen} onOpenChange={setIsOpen} primaryAction={{ text: 'OK', onClick: () => setIsOpen(false), }} secondaryAction={{ text: 'Cancel', onClick: () => setIsOpen(false), }} >

This popover demonstrates accessibility features for Lighthouse testing.

This popover includes:

  • Proper ARIA attributes (role="dialog" when modal, aria-labelledby, aria-describedby)
  • Accessible heading via aria-labelledby
  • Accessible description via aria-describedby
  • Keyboard navigation support (Tab, Shift+Tab, Escape)
  • Focus management (focus trap in modal mode, focus return)
  • Labeled form elements
  • Accessible action buttons