AdaptTable for Ant Design

Accessible Ant Design data table

Tab into the grid and the arrows move a visible focus, one cell at a time. Home and End jump to the row's edges.

Every move, sort, filter and edit is announced through a live region — the part of a table a sighted reader cannot check, so this page repeats those announcements as text as they happen.

columnSelectionCheckbox puts a named checkbox on each header so a column can be selected without a modifier key a touchscreen does not have. The grid and the checkboxes are Ant Design.

The grid is antd's Table; the header checkbox is antd's Checkbox, and the focus ring is the kit's outline on the active cell.

The code

import { DataTable } from "@adapttable/antd";

export function People({ rows, columns }) {
  return (
    <DataTable
      data={rows}
      columns={columns}
      rowKey={(row) => row.id}
      cellNavigation
      columnSelectionCheckbox
    />
  );
}

Install

pnpm add @adapttable/antd @adapttable/core antd

The same feature in the other kits

More Ant Design features

Reference: accessibility, cell-navigation. More of this kit: AdaptTable for Ant Design, or the live demo.