HTML aria-rowspan ARIA Attribute
The aria-rowspan attribute gives the number of rows that a cell spans in a table or grid built with ARIA roles.
Description
The aria-rowspan attribute defines how many rows a cell spans in a table, grid or treegrid. It is the ARIA counterpart of the HTML rowspan attribute, for tables built from generic elements with ARIA roles. The value is 0 or more; 0 means the cell spans all remaining rows in its row group.
The attribute only describes structure: use CSS, such as grid-row, to make the cell span visually. On native <td> and <th> elements, use rowspan instead.
Properties
- Type
- Widget
- Value
- integer
- Default
- None
- Used with
cell,columnheader,gridcell,rowheader
Syntax
<element role="cell" aria-rowspan="number">
Values
- integerThe number of rows the cell spans.
Example
Browser Support
The following information will show you the current browser support for the aria-rowspan ARIA attribute. Hover over a browser icon to see the version that first introduced support for this ARIA attribute.
Desktop





Tablets & Mobile





