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.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
sortApplied | (column: string, direction: string) => string | Announced when sorting is applied. |
sortCleared | () => string | Announced when sorting is cleared. |
filterApplied | (column: string) => string | Announced when a filter is applied. |
filterCleared | (column: string) => string | Announced when a filter is cleared from a column. |
allFiltersCleared | () => string | Announced when all filters are cleared. |
groupExpanded | (name: string, count: number) => string | Announced when a group row is expanded. |
groupCollapsed | (name: string) => string | Announced when a group row is collapsed. |
selectionChanged | (count: number) => string | Announced when row selection changes. |
editingStarted | (rowIndex: number) => string | Announced when row editing starts. |
editingCommitted | (rowIndex: number) => string | Announced when row editing is committed. |
dataLoaded | (count: number) => string | Announced 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