role forbidden on td th and tr elements inside tables Web Standard

Description

The role attribute must not be used on td, th and tr elements inside a table element with no role or role=table, role=grid or role=treegrid.

Help

Remove the role attribute.

Applicable standards

  • 4
  • (Success Criteria: 1.3.1 level A)
  • (Success Criteria: 1.3.1 level A)
  • (Success Criteria: 1.3.1 level A)
  • (Success Criteria: 1.3.1 level A)
  • HTML

Note: Section 508 Refresh (2017) checkpoints are equivalent to WCAG 2.0 level A and level AA checkpoints. EN 301 549 checkpoints are equivalent to WCAG 2.1 level A and level AA checkpoints.

Change history

  • 2026.60 Apr 2026 Now fails WCAG 1.3.1 when non-table roles are used.
  • 6.44 Mar 2022 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: W3cHtml5AriaProhibitedRoleWithAncestorTableRole