Skip to main content
cngx-src documentation

CngxSelectAnnouncer

Injectablev0.1.0WCAG AA

projects/forms/select/shared/announcer.ts

Import#

import { CngxSelectAnnouncer } from '@cngx/forms/select'

Description#

Select-family live-region announcer. Delegates to the shared CngxLiveAnnouncer; kept as the select family's injectable identity (consumed by createCommitErrorAnnouncer and select-core) so its announce(message, politeness) signature stays stable.

Index#

Methods

Methods#

announce#void
announce(message: string, politeness: "polite" | "assertive")

Clears the region one frame before writing so AT re-announces identical messages.

@parammessagestring
@parampoliteness"polite" | "assertive"= 'polite'