Skip to content
Bug reportNov 27, 2026· 0:22· 13 views

AG Grid 36.3.0: every row gets tabindex="0" — 11 tab stops in a 10-row grid (WCAG 1.3.1)

0:22 total

Comments · 0

Be the first to comment.

Bug reportby SceneRecap AI

mediumAG Grid 36.x keyboard focus management: tabindex assignment on row and header elements (roving tabindex), and focusability of ag-header-parent-hidden header cells.
os: macOSdpr: 1locale: en-USbrowser: Chromium 151.0.7922.34library: AG Grid 36.3.0timezone: Europe/Berlinviewport: 1280x720reference: ag-grid/ag-grid#16199

Repro steps

  1. 1.Open the AG Grid 36.3.0 row tabindex accessibility check page. It has a grid with columns Make, Model, Year and Price and 10 body rows.
  2. 2.Read the DIAGNOSTIC panel count for tabindex="0" in grid.
  3. 3.Left-click the empty page area below the grid to put focus on the page.
  4. 4.Press Tab once. Focus enters the grid on the Make header cell.
  5. 5.Press Tab again. Focus moves to the Model header cell instead of leaving the grid.
  6. 6.Press Tab two more times. Focus moves along the header row to the Price header cell.
  7. 7.Press Tab a fifth time. Focus moves to the Toyota cell in the first body row.

Expected

Per the WAI-ARIA grid pattern shown on the page, the grid has exactly 1 element with tabindex="0" (Expected (ARIA grid): 1). All other focusable descendants use tabindex="-1". One Tab enters the grid, arrow keys move inside it, and the next Tab leaves the grid.

Actual

On load the diagnostic reports 21 elements with tabindex="0" in the grid against an expected 1. After the first Tab the count is 19 and stays at 19. Each Tab press moves focus to the next grid cell: Make header, then other header cells, then Price header, then the Toyota body cell. Five Tab presses never leave the grid. The focus log records header cells with class ag-header-parent-hidden receiving focus. A console error, AG Grid error #239, is logged at load. Its link to this bug is not confirmed.

Evidence

consoleAt load the console logs: AG Grid: error #239 Visit https://www.ag-grid.com/javascript-data-grid/errors/239?_version_=36.3.0
visualDIAGNOSTIC panel shows tabindex="0" in grid: 21 (red) and Expected (ARIA grid): 1 (green). The note under them reads 1 header row + 10 body rows, expected 0 rows, 1 grid tab stop.
visualAfter the first Tab, the focus ring is on the Make header cell. The focus log adds div.ag-header-cell.ag-column-first [tabindex=-1]. The count drops from 21 to 19.
visualAfter the second Tab, the focus ring is on the Model header cell. The focus log adds div.ag-header-cell.ag-header-parent-hidden [tabindex=-1].
visualAfter the fourth Tab, the focus ring is on the Price header cell. The focus log shows ag-column-last plus two ag-header-parent-hidden entries.
visualAfter the fifth Tab, the focus ring is on the Toyota cell in the first body row. The focus log adds div.ag-cell-value.ag-cell [tabindex=-1]. Focus is still inside the grid.
visualFinal state: the diagnostic still reads 19 tabindex="0" elements against an expected 1. The focus log has five entries.
Issue markdown (copy-paste ready)
## Summary
In AG Grid 36.3.0 the grid exposes many elements with `tabindex="0"` instead of a single roving tab stop. Tab moves focus cell by cell through the grid instead of entering once and leaving on the next Tab. Related: ag-grid/ag-grid#16199.

## Environment
- AG Grid 36.3.0
- Chromium 151.0.7922.34, macOS
- Viewport 1280x720, DPR 1, locale en-US

## Steps to reproduce
1. Open the row tabindex accessibility check page. It has a grid with Make, Model, Year and Price columns and 10 body rows (1.0s).
2. Read the DIAGNOSTIC count for `tabindex="0"` in grid (1.0s).
3. Click the empty page area below the grid (6.3s).
4. Press Tab. Focus lands on the Make header cell (7.0s).
5. Press Tab three more times. Focus moves across the header cells to Price (8.3s to 10.2s).
6. Press Tab again. Focus moves to the Toyota cell in the first body row (11.1s).

## Expected
Per the WAI-ARIA grid pattern, exactly 1 element in the grid has `tabindex="0"`. All other focusable descendants use `tabindex="-1"`. One Tab enters the grid, arrow keys move within it, and the next Tab leaves it.

## Actual
- On load the diagnostic shows **21** `tabindex="0"` elements against an expected **1** (1.0s).
- After the first Tab the count drops to **19** and stays there through the end (7.0s to 21.0s).
- Each Tab moves focus to the next cell: Make header (7.0s), Model header (9.0s), Price header (11.0s), Toyota body cell (13.0s). Five Tabs never leave the grid.
- The focus log records header cells with class `ag-header-parent-hidden` receiving focus (9.0s, 11.0s).

## Evidence
- Console at 0s: `AG Grid: error #239 Visit https://www.ag-grid.com/javascript-data-grid/errors/239?_version_=36.3.0`. Not confirmed to be related.
- Focus log entries, oldest first:
  - `div.ag-header-cell.ag-column-first [tabindex=-1]`
  - `div.ag-header-cell.ag-header-parent-hidden [tabindex=-1]`
  - `div.ag-header-cell.ag-header-parent-hidden [tabindex=-1]`
  - `div.ag-header-cell.ag-column-last [tabindex=-1]`
  - `div.ag-cell-value.ag-cell [tabindex=-1]`

## Suggested area
Keyboard focus management in AG Grid 36.x. Check tabindex assignment on row and header elements (roving tabindex). Also check why `ag-header-parent-hidden` header cells are reachable by Tab.

*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 →