Accessible Stats Table Widget
Component Detail
User Interface
low complexity
mobile
0
Dependencies
1
Dependents
0
Entities
0
Integrations
Description
Companion widget to the chart that presents the same aggregated data as a plain, screen-reader-friendly table. Required by WCAG 2.2 AA to ensure all chart information is available in non-visual form. Can be toggled alongside or instead of the chart view, and supports VoiceOver and TalkBack navigation.
accessible-stats-table-widget
Responsibilities
- Render activity stats as a structured, navigable table
- Provide full semantic markup and row/column headers for screen readers
- Support toggling between chart view and table view
- Format numeric values with accessible labels and units
Interfaces
AccessibleStatsTableWidget({required List<StatDataPoint> data})
updateData(List<StatDataPoint> newData)
sortByColumn(String column, SortOrder order)
exportAsText() → String