Favorites

ARIA row Role

row
ARIA Document Structure RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The row role marks a row of cells in a table, grid or treegrid. The tr element has this role.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The row role identifies a row of cells in a table, grid or treegrid. It contains elements with the cell, gridcell, columnheader or rowheader role, and must be inside the table itself or a rowgroup. The <tr> element has this role.

In a grid, rows can be selectable with aria-selected, and in a treegrid they can be expanded and collapsed with aria-expanded and nested with aria-level. Use aria-rowindex when not all rows are in the DOM.

Use the native HTML <tr> element where you can: it already has the row role, with the expected keyboard and browser behavior built in.

Properties

Category
Document Structure
HTML equivalent
<tr>
Accessible name from
contents, author
Required parent role
grid, rowgroup, table, treegrid
Required child roles
cell, columnheader, gridcell, rowheader

ARIA Attributes

Syntax

<element role="row">

Example

<div role="table" aria-label="Fruit">
<div role="row"><span role="columnheader">Name</span> <span role="columnheader">Colour</span></div>
<div role="row"><span role="cell">Banana</span> <span role="cell">Yellow</span></div>
</div>

Browser Support

The following information will show you the current browser support for the row ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.

This ARIA role is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee