ARIA columnheader Role
The columnheader role marks a header cell for a column in a table or grid. The th element has this role when it heads a column.
Description
The columnheader role identifies a header cell for a column. Screen readers read it out when users move into a cell of that column, so they always know which column they are in. A <th> element in the first row, or with scope="col", has this role.
Column headers must be inside an element with the row role. Add aria-sort to the header the table is sorted by. In a grid, a column header can also be interactive, for example containing a sort button.
Use the native HTML <th> element where you can: it already has the columnheader 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="columnheader">
Example
Browser Support
The following information will show you the current browser support for the columnheader ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





