Live announcer
@xngui/cdk/live-announcer@xngui/cdk/live-announcerScreen-reader announcements via aria-live regions.
Preview
Announcements
Turn on a screen reader to hear the live region. Identical consecutive messages are still announced because the region clears before each update.
import { XLiveAnnouncer } from '@xngui/cdk/live-announcer';
const announcer = inject(XLiveAnnouncer);
announcer.announce('3 items selected', 'polite');
announcer.announce('Error saving file', 'assertive');
Events
Interact with the preview — events will appear here.