Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All roles

table

Document structure role

Static tabular data arranged in rows and columns for reading, not interaction. Its structure is conveyed through row, columnheader, rowheader, and cell descendants. Prefer a native `<table>`; for an interactive tabular widget use grid instead.

Used on
Static tabular data. Prefer the native <table>.
Accessible name
Recommended, via a <caption>, aria-labelledby, or aria-label.
Used by components
Example
role="table"
<table>
  <caption>Team members</caption>
  …
</table>
See a live, tested example on the Table page