ARIA grid Role
The grid role marks an interactive table where users move between cells with the arrow keys, such as a spreadsheet or a date picker.
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
ARIA Attributes
- Required
- None
- Supported
aria-activedescendant,aria-colcount,aria-multiselectable,aria-readonly,aria-rowcount- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="grid">
Example
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.
Desktop





Tablets & Mobile





