Skip to content
Bug reportDec 4, 2026· 0:22· 12 views

AG Grid 36: every row gets tabindex=0 — creates one tab stop per row instead of one per grid

0:22 total

Comments · 0

Be the first to comment.

Bug reportby SceneRecap AI

mediumAG Grid row and header row rendering (tabindex assignment on .ag-row and .ag-header-row) and the grid's Tab key focus management
os: macOSdpr: 1locale: en-USbrowser: Chromium 151.0.7922.34library: ag-grid-community@36 from cdn.jsdelivr.net (version 36.3.0 per error URL at 0s)viewport: 1280x720page_title: AG Grid 36: tabindex on rows bug (#16199)

Repro steps

  1. 1.Load the test page with ag-grid-community@36 and a 3-column, 10-row grid placed between two tab stop buttons.
  2. 2.Click the 'Tab stop BEFORE grid' button.
  3. 3.Press Tab.
  4. 4.Press Tab again.
  5. 5.Press Tab a third time.

Expected

Under the WAI-ARIA grid pattern the grid should be a single tab stop. Rows and the header row should not carry tabindex=0, so the page audit expects 0 row tab stops. Pressing Tab from the 'Tab stop BEFORE grid' button should enter the grid once, and the next Tab should leave the grid.

Actual

The DOM audit reports 1 .ag-header-row[tabindex=0] plus 10 .ag-row[tabindex=0], for 11 row tab stops. After the user clicks the 'Tab stop BEFORE grid' button, each Tab press moves focus to the next header cell (Make, then the next header cell, then Price). Focus does not leave the grid. It stays on the Price header cell through the end of the recording.

Evidence

visualDOM audit box reads: 1 .ag-header-row[tabindex=0] + 10 .ag-row[tabindex=0] = 11 row tab stops (expected: 0, only cells/grid should have tabindex).
consoleWarning: 'AG Grid tabindex audit: headerRows=1 bodyRows=10 total=11'.
consoleError: 'AG Grid: error #239' with version 36.3.0 in the linked URL.
consoleWarning that the ag-grid-community script is a parser-blocking cross-site script invoked via document.write.
visualAfter the first Tab, a focus outline appears on the Make header cell. A red banner reads 'Pressing Tab from button: focus should enter grid once; instead hits each row'.
console'After Tab 1: focused = ag-header-cell ag-column-first ... tabindex=-1'.
console'After Tab 2: focused = ag-header-cell ... ag-header-cell-sortab tabindex=-1'.
console'After Tab 3: focused = ag-header-cell ag-column-last ... tabindex=-1'.
visualFocus outline is on the Price header cell and stays there with no further change through the last frame.
Issue markdown (copy-paste ready)
## Summary
In AG Grid 36 (36.3.0), the header row and every body row get `tabindex=0`. The page audit counts 11 row-level tab stops where 0 are expected. When the user tabs into the grid from a preceding button, each Tab press moves focus to the next header cell instead of entering the grid once.

## Environment
- Chromium 151.0.7922.34, macOS
- Viewport 1280x720, DPR 1, locale en-US
- ag-grid-community@36 from cdn.jsdelivr.net (36.3.0 per error URL)

## Steps to reproduce
1. Load the test page. It has a 3-column, 10-row grid between two tab stop buttons (1.0s).
2. Click **Tab stop BEFORE grid** (5.4s).
3. Press Tab (6.3s).
4. Press Tab (7.3s).
5. Press Tab (8.2s).

## Expected
The grid is a single tab stop, following the WAI-ARIA grid pattern. Rows and the header row do not carry `tabindex=0`. Tab enters the grid once, and the next Tab leaves it.

## Actual
- The DOM audit shows `1 .ag-header-row[tabindex=0] + 10 .ag-row[tabindex=0] = 11 row tab stops (expected: 0)` (1.0s).
- Each Tab moves focus across header cells: Make (7.0s), the next header cell (8.2s), then Price (9.0s). Focus stays on Price through 21.0s.

## Evidence
- 0s console error: `AG Grid: error #239` (version 36.3.0).
- 0s console warning: parser-blocking cross-site script invoked via document.write.
- 4.7s console warning: `AG Grid tabindex audit: headerRows=1 bodyRows=10 total=11`.
- 7.3s: `After Tab 1: focused = ag-header-cell ag-column-first ... tabindex=-1`
- 8.2s: `After Tab 2: focused = ag-header-cell ... tabindex=-1`
- 9.2s: `After Tab 3: focused = ag-header-cell ag-column-last ... tabindex=-1`

## Suggested area
Row and header row rendering (`tabindex` on `.ag-row` / `.ag-header-row`) and Tab key focus management in the grid.

Related: issue #16199

*Recorded with SceneRecap.*

This report was written by SceneRecap from a screen recording. Try SceneRecap free

Turn a screen recording into a bug report like this one.

Repro steps, expected vs actual and the console and network evidence, each with a timestamp. On every plan, Free included.

Try SceneRecap free →
AG Grid 36: every row gets tabindex=0 — creates one tab stop per row instead of one per grid · SceneRecap