Favorites

ARIA grid Role

grid
ARIA Composite Widget RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The grid role marks an interactive table where users move between cells with the arrow keys, such as a spreadsheet or a date picker.

☕
Enjoying this site?

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

Buy us a coffee

Description

The grid role identifies a composite widget containing one or more rows of cells that users navigate in two dimensions with the arrow keys. Spreadsheets, calendar date pickers and data grids with editable cells are examples. Rows have the row role and cells the gridcell, columnheader or rowheader role.

A grid takes a single stop in the Tab order. Inside it, the arrow keys move between cells, Home and End go to the start and end of a row, and Ctrl+Home/End go to the first and last cell. Focus is managed with a roving tabindex or aria-activedescendant.

Don't use grid for a table that is just for reading. A normal <table> is easier to use with a screen reader, which already provides table navigation commands. Use role="grid" on a <table> only when it really behaves like a widget.

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

Properties

Category
Composite Widget
HTML equivalent
<table>
Accessible name from
author
Required parent role
None
Required child roles
row, rowgroup

ARIA Attributes

Syntax

<element role="grid">

Example

<table role="grid" aria-label="March 2026">
<tr><th>Mo</th><th>Tu</th><th>We</th></tr>
<tr>
<td role="gridcell" tabindex="-1">2</td>
<td role="gridcell" tabindex="0" aria-selected="true">3</td>
<td role="gridcell" tabindex="-1">4</td>
</tr>
</table>
<style>[aria-selected=true]{background:#2563eb;color:#fff}</style>

Browser Support

The following information will show you the current browser support for the grid 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