aria-rowspan attribute defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
Similar to the
rowspan attribute of the
<th> elements, but for cells and gridcells which are not contained in a native table, the
aria-rowspan attribute defines the number of rows spanned by a
gridcell within a
This attribute is intended for cells and gridcells which are not part of an HTML
<table>. When a cell is nested in a semantic
rowspan attribute should be used when a or spans more than one row. If both are present,
rowspan takes precedence over
aria-rowspan. But, like all ARIA attributes,
aria-rowspan only impacts the accessibility tree. It doesn't change your layout.
Note: ARIA modifies the accessibility tree and how assistive technology presents content to your users. ARIA doesn't change anything about an element's function, behavior, or appearance. When using non-semantic elements, you must use CSS to manage layout and appearance.
The value of
aria-rowspan is an integer greater than or equal to 0 and less than the value which would cause the cell or gridcell to overlap the next cell or gridcell in the same column. Setting the value to
0 indicates that the cell or gridcell is to span all the remaining rows in the row group. The default value is
An integer greater than or equal to
0and less than would cause a cell to overlap the next cell in the same column.
|Accessible Rich Internet Applications (WAI-ARIA)