WCAG - Table elements not seen in inspection
search cancel

WCAG - Table elements not seen in inspection

book

Article ID: 430820

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

SUMMARY - Are tables used appropriately, clearly organized, and labeled?

WCAG Criteria -

1.3.1 Info and Relationships (A)
4.1.2 Name, Role, Value (A)

Steps to Reproduce- logged in as user in environment, accessed PROGRAMS page, right click mouse, select inspect. Scroll down to highlight the rows of the grid of information. Note they are not in <table> attributes.

Expected Results - Expected to inspect the table to see <table> attributes,<tr> <thead> etc, and not treegrid and <rowgroup>

Actual Result - ARC Toolkit is reporting 'Page does not contain any table elements'.

Environment

Clarity Any Release

Resolution

The Grid is implemented using AG Grid, which renders a WAI-ARIA grid/treegrid pattern using elements with roles such as grid / treegrid, rowgroup, row, columnheader, and gridcell, instead of native HTML table markup like <table>, <tr>, and <thead>.

Because of that:

The absence of native <table> elements in Inspect is expected behavior
The presence of ARIA roles such as treegrid and rowgroup is not itself a WCAG violation
Screen readers reading the content as rows and columns indicates that the semantic relationship is still being exposed to assistive technology
Regarding the reported ARC Toolkit message, “Page does not contain any table elements”, that finding is based on the absence of native HTML table tags. In this case, the control is not implemented as a native table, but as an ARIA grid/treegrid, which is an accepted accessible pattern for interactive data grids.

Additional Information

This was originally reviewed by the Development team and tracked as DE183165.