Skip to content

a11y: Table header and cell roles #680

Closed
@jchen527

Description

@jchen527

The table implementation is missing a few other ARIA roles:

  • Table headers should have role="columnheader", an id to associate the column's cells, and aria-sort if the column is sorted
  • Table cells should have role="gridcell" and aria-describedby that points to the associated column header

ARIA documentation: columnheader and gridcell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions