ARIA table Role
The table role marks a static table of data, organized in rows and columns, that is meant for reading rather than interaction. The table element has this role.
Description
The table role identifies a static table: a section containing data arranged in rows and columns. It contains row elements, optionally grouped in rowgroup elements, and can have a caption. Screen readers provide commands to move between cells and announce the headers as users move.
The <table> element has this role and is almost always the better option. ARIA table roles are mainly useful for responsive layouts built with CSS Grid or Flexbox that need to be exposed as tables. For a table users interact with using the arrow keys, use grid instead. Give the table a name with a caption or aria-label.
Use the native HTML <table> element where you can: it already has the table role, with the expected keyboard and browser behavior built in.
Properties
ARIA Attributes
- Required
- None
- Supported
aria-colcount,aria-rowcount- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="table">
Example
Browser Support
The following information will show you the current browser support for the table ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





