- Docs
- Components
- Data display
Table
The one way to show records. Columns and rows in; sorting, selection, row actions and every state built in.
- Import
- @qeetrix/react
- Status
- StableSince 0.0.2
- Renders
<table>Server-rendered- Tested
- WCAG 2.2 AAaxe on every pull request
01
Keyboard
| Keys | What happens |
|---|---|
| TabTab | Through the bar, the sort buttons, the checkboxes, the row links and the menus. |
| EnterSpace | Sorts by a header; ticks a row; opens a row or its menu. |
02
Behaviour
- Name
- The table is named by label; the header cells are column headers.
- Sort
- aria-sort on the sorted column; its header is a button.
- Rows
- Each checkbox and menu is named for its row: "Select Priya Sharma".
- Announced
- Loading, and the number chosen, politely.
03
Tested
On every change, before it ships.
- axe, WCAG 2.2 A and AA, in Chromium on every pull request
- Firefox and WebKit every night
- Numbers and dates in English and Hindi, grouped for India
- Forced colours and right to left