WarUI

aria-rowindex Under Row Virtualization

GRID-A23-F06P0baselinePlanned

When row virtualization renders only a window of rows, each rendered row carries an aria-rowindex for its logical position. Focus is maintained across recycled DOM nodes. This lets assistive technologies report correct positions while scrolling large datasets.

Planned. This page shows the specification from issue #203. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A 5,000-row grid with virtualization on. An overlay shows each rendered row's aria-rowindex.

Expected behavior

Scrolling recycles nodes while the overlay shows a continuous aria-rowindex. Keyboard focus survives node recycling, and the focused element always reflects the correct logical row.

Planned API surface

rowVirtualizationrowOverscanrowBuffergetRenderedRowRange()virtualRangeChange

Acceptance criteria

  • Every rendered row has an aria-rowindex equal to its 1-based logical position, including headers. (pending)
  • aria-rowindex values in the DOM are unique and increase in DOM order. (pending)
  • The focused cell keeps DOM focus after a virtualization re-render, without focus moving to the body. (pending)
  • Jumping via focusCell to a non-rendered row renders it and focuses it. (pending)