Documentation

Accessibility

WCAG 2.2 AA behavior is part of the component contract.

Included behavior

ShareKit starts with native semantics and uses ARIA only where it clarifies state.

  • Keyboard-operable buttons and native disclosure focus behavior.
  • Visible 3px focus rings and minimum 44px targets.
  • Accessible names independent from provider icons.
  • Polite announcements for success, cancellation, and failure.
  • Reduced-motion styles that remove scale and popover movement.

Your responsibility

Headless styling must preserve target size, contrast, focus appearance, reading order, and the meaning of result messages.