ARIA Structure Roles
ARIA role: rowheader
A cell identifying its associated row. Prefer th scope=row; supply meaningful header associations in complex tables. The example demonstrates a native equivalent or preferred alternative and deliberately omits redundant ARIA. Explicit roles do not implement visual presentation, interaction or focus management; verify allowed role/element combinations in ARIA in HTML. Accessibility exposure varies with browser, platform and assistive technology. Test relevant combinations; rendering is not proof of accessibility.
Formal Syntax & Structure
html syntaxhtml
role="rowheader"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| role | token | Explicit role token rowheader; use only where allowed. Omit when native semantics match. |
| aria-sort | token | Relevant when applicable. Describes the sort order of a table or grid column or row. Apply to the relevant header rather than the table; normally only one header is marked as sorted at a time. It does not sort data itself. Values: none, ascending, descending, other. |
Working Example
Example Snippethtml
<table> <tr> <th scope="row">Monday</th> <td>Open</td> </tr></table>