Skip to content

Treegrid example has <tr role="row"> which is not allowed per ARIA in HTML spec #1049

@zcorpan

Description

@zcorpan

http://w3c.github.io/html-aria/#tr says in the column "Implicit ARIA semantics - SHOULD NOT be used" for element tr:

role=row, may be explicitly declared when child of a table element with role=grid

so for role=table or role=treegrid, <tr role=row> should not be declared explicitly.

The treegrid example in aria-practices uses <tr role=row>.

http://w3c.github.io/aria-practices/examples/treegrid/treegrid-1.html

Should the example omit role=row, or should ARIA in HTML be changed to allow it in role=treegrid?

cc @spectranaut @stevefaulkner @mcking65

Metadata

Metadata

Assignees

Labels

Example PageRelated to a page containing an example implementation of a patternenhancementAny addition or improvement that doesn't fix a code bug or prose inaccuracyquestionIssue asking a question

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions