ARIA cell Role
The cell role marks a data cell in a table built with ARIA roles. The td element has this role when it is inside a normal table.
Description
The cell role identifies a data cell in a static table, one that is for reading rather than interacting. Cells must be owned by an element with the row role. The <td> element has this role, unless the table is a grid or treegrid, where it becomes a gridcell.
ARIA table roles are useful when a table has to be built from <div> elements, or when CSS such as display: grid or display: block has removed a native table's semantics in some browsers. In most cases, a real <table> is simpler. Use aria-colspan and aria-rowspan for spanning cells.
Use the native HTML <td> element where you can: it already has the cell role, with the expected keyboard and browser behavior built in.
Properties
ARIA Attributes
- Required
- None
- Supported
aria-colindex,aria-colindextext,aria-colspan,aria-rowindex,aria-rowindextext,aria-rowspan- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="cell">
Example
Browser Support
The following information will show you the current browser support for the cell ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





