AccessibilityKit

App

A11y helpers bundle that exposes the SkipLink, LiveRegion (Announcer) and Tooltip primitives through a single partial. The `part` prop (skip|live|announcer|tooltip|all) picks which piece to render; the default usage mounts the SkipLink + LiveRegion at the top of the page and exposes the `window.announce` API.

SkipLink + LiveRegion (default)

Preview

Page head (Tab to reveal SkipLink)

Skip to main content
<div role="status" aria-live="polite" class="sr-only"></div>

LiveRegion mounts hidden; window.announce('Saved!') updates it.

Code
<%- include('modules/app/AccessibilityKit') %>

<%# Anywhere in the page %>

Tooltip part

Preview
Helpful hint
Code
<%- include('modules/app/AccessibilityKit', {
  part: 'tooltip',
  content: 'Helpful hint',
  placement: 'top',
  children: `<%- include('modules/ui/Button', { variant: 'outline', size: 'sm', children: 'Hover me' }) %>`
}) %>
Source modules/app/AccessibilityKit.ejs