Skip to content

A11yMessages

Default announcement messages for screen reader live regions. Each function returns a localized string for a specific state change. Override individual messages via A11yConfig.messages for i18n.

PropertyTypeDescription
sortApplied(column: string, direction: string) => stringAnnounced when sorting is applied.
sortCleared() => stringAnnounced when sorting is cleared.
filterApplied(column: string) => stringAnnounced when a filter is applied.
filterCleared(column: string) => stringAnnounced when a filter is cleared from a column.
allFiltersCleared() => stringAnnounced when all filters are cleared.
groupExpanded(name: string, count: number) => stringAnnounced when a group row is expanded.
groupCollapsed(name: string) => stringAnnounced when a group row is collapsed.
selectionChanged(count: number) => stringAnnounced when row selection changes.
editingStarted(rowIndex: number) => stringAnnounced when row editing starts.
editingCommitted(rowIndex: number) => stringAnnounced when row editing is committed.
dataLoaded(count: number) => stringAnnounced when data is loaded.
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt