ARIA rowheader Role
The rowheader role marks a header cell for a row in a table or grid. The th element has this role when it heads a row.
Description
The rowheader role identifies a header cell for a row, giving information about the other cells in that row. Screen readers read it when users move along the row, so they know which row they are in. A <th> with scope="row", or at the start of a body row, has this role.
Row headers must be inside an element with the row role. In a grid, they can be selectable or sortable like column headers.
Use the native HTML <th> element where you can: it already has the rowheader role, with the expected keyboard and browser behavior built in.
Properties
ARIA Attributes
- Required
- None
- Supported
aria-colindex,aria-colindextext,aria-colspan,aria-expanded,aria-haspopup,aria-readonly,aria-required,aria-rowindex,aria-rowindextext,aria-rowspan,aria-selected,aria-sort- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="rowheader">
Example
Browser Support
The following information will show you the current browser support for the rowheader ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





