API Reference

Complete API documentation for all SenseFolks survey components. Each component is a framework-agnostic web component with WCAG 2.1 AA accessibility, CSS Parts for styling, and custom events for integration.

Survey Components

Common API

All survey components share these common properties:

Property Attribute Type Description
surveyKey survey-key string UUID of the survey to load (required)
completionMessage completion-message string Message shown after submission

Accessibility (WCAG 2.1 AA)

All SenseFolks components meet WCAG 2.1 AA standards with:

  • Full keyboard navigation (Tab, Arrow keys, Enter/Space)
  • Screen reader support with ARIA labels and live regions
  • High contrast mode support for Windows users
  • Reduced motion support via prefers-reduced-motion
  • Visible focus indicators that meet contrast requirements

Browser Support

Browser Version
Chrome88+
Firefox85+
Safari14+
Edge88+
IE11✅ (ES5 build)