ProGridSign in

Guides

Accessibility

What the grid does for keyboard and screen-reader users out of the box, what it deliberately leaves to the host application, and where the current limits are — stated plainly so you can plan around them.

Every control is a real control

The toolbar, column menus, filter editors, group chips, pager, column chooser and pivot panel are built from Base UI primitives and native form elements. That gives them focus order, keyboard operation (arrow keys inside menus, Escape to close, Enter and Space to activate) and correct roles without any grid-specific work. Icon-only buttons carry an aria-label from the locale table, so a screen reader hears “Filter Region” or “Remove group Status”, never “button”.

  • Sorted headers expose aria-sort; sorting itself lives in the column menu.
  • Expand and collapse buttons announce their state on group and detail rows.
  • Toggle buttons in the toolbar — pivot mode, header filters — expose aria-pressed.
  • The loading bar in server mode is a role="status" region with a spoken label.

Naming the grid and its language

Give the grid a title so the toolbar reads as a heading for what follows, and wrap it in a labelled landmark so a screen-reader user can jump to it. Set locale and every built-in string — control labels, filter operators, empty and loading messages, aggregation names — switches language together.

<section aria-labelledby="orders-heading">
  <h2 id="orders-heading">Open orders</h2>
  <ProGrid
    title="Open orders"        // shown in the toolbar
    locale="pt"                // every control label, in the reader's language
    columns={columns}
    data={orders}
  />
</section>

Motion and colour

  • Cell flashes on live updates, the toolbar’s loading pulse and menu transitions all collapse to nothing under prefers-reduced-motion: reduce. Nothing in the grid conveys information through animation alone.
  • Signed numbers (meta.signed) are coloured and keep their sign character, so the direction is readable without colour.
  • Selected rows and cell ranges use a background and a border, and the range copies as plain tab-separated text.

What the host application is responsible for

  • Custom cells keep their text. If you render a badge, an icon or a coloured pill, leave the value in the DOM as text or provide an equivalent label.
  • Interactive cell content stays reachable. A link or button inside a cell is a normal tab stop; do not stop propagation of keyboard events on it.
  • Detail panels are yours. Content rendered through renderDetail is ordinary page content — heading levels, labels and focus management inside it are up to you.
  • Do not rely on colour alone in rowClassName or cellClassName to mark a state the reader must know about.
// A custom cell keeps its text content, so the value is still readable
// when the visual treatment is a colour.
{
  accessorKey: "status",
  header: "Status",
  cell: ({ getValue }) => {
    const status = String(getValue())
    return <span className={`order-status order-status--${status}`}>{status}</span>
  },
}

Current limits

If a screen must meet a keyboard-only cell-navigation requirement, plan for it now: expose the same actions through the toolbar or a detail panel, and tell us what you need. The licence covers every future version, so that work reaches you when it lands.