Composition / foldkit-builder
Announcer
const · packages/builder/src/index.ts:53
const Announcer: Bundle.Declared<
Bundle.Bundle<
'LiveAnnounce',
{ readonly debounceMs: number; readonly clearAfterMs: number },
{
readonly polite: string
readonly assertive: string
readonly pending: {
readonly message: string
readonly politeness: 'polite' | 'assertive'
} | null
readonly generation: number
},
| { readonly _tag: 'Cleared'; readonly generation: number }
| { readonly _tag: 'Read'; readonly generation: number }
| {
readonly _tag: 'Announced'
readonly message: string
readonly politeness: 'polite' | 'assertive'
},
never,
never,
never,
void,
{},
{}
>,
'announcer'
>What the editor says to assistive technology: a move, an insert, a refusal.
In the guides
- The keyboard, the layers, and what the editor saysComposition / foldkit-builder