Skip to content

Tables

Accessible data tables with native semantics, sorting, and Schema.org microdata.

Default Table

List of registered users
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Striped Table

Users displayed with alternating row colors
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Hoverable Table

Users with hover highlight on rows
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Bordered Table

Users displayed with visible cell borders
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Compact Table

Users displayed with reduced padding
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Combined Variants

Users with striped, hoverable, and bordered styles combined
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Sortable Headers

Click column headers to sort the table
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Selected Row

Table with a visually selected row
NameEmailRoleStatus
Alice Johnsonalice@example.comAdminActive
Bob Smithbob@example.comEditorActive
Carol Williamscarol@example.comViewerInactive
David Browndavid@example.comEditorActive
Eve Daviseve@example.comAdminAway

Accessibility Notes

These table components use native HTML table semantics, ensuring full compatibility with screen readers and assistive technologies. Each header cell includes scope="col" to explicitly associate headers with their columns. The TableCaption component provides a programmatically associated description of the table's purpose. Schema.org Table itemType microdata is applied for enhanced structured data support. When tables overflow their container, a scrollable wrapper with role="region" and an accessible label ensures keyboard and screen reader users can navigate the content.

© 2026 CompositeVoice. All rights reserved.

Font size
Contrast
Motion
Transparency