Reference

ARIA patterns

Which ARIA roles fit a flat, virtualized grid, and which do not.

The grid renders its items as flat children of one element. That structure decides which ARIA roles fit.

List and listbox

The list and listitem roles fit because a list is one element with its items as children, and that is the structure the grid renders. The listbox and option roles fit for the same reason. Use them when the items are selectable, and add aria-selected to each option. A listbox also needs a way for keyboard users to move between options, such as the roving tabindex in the accessibility guide.

Grid, row and cell roles

The grid, row and gridcell roles do not fit. A grid needs row elements that wrap their cells, and the grid renders no row elements. If you need to announce rows and columns, compute the row and column with getItemCell and write the numbers into aria-description on each item. Recompute the description in a layout-change handler, because the column count changes when the grid is resized.

Copyright © 2026