w3c / html-aria

ARIA in HTML
https://w3c.github.io/html-aria/
Other
181 stars 48 forks source link

Editorial changes to tr, th, td for consistency with other roles #311

Closed carmacleod closed 3 years ago

carmacleod commented 3 years ago

Given the "slightly softer" stance around unnecessary explicit roles in https://github.com/w3c/html-aria/issues/236, the entries for tr, th, and td look a bit strange now, because they say:

No role if the ancestor table element has role=table, grid, or treegrid; otherwise any role.

when they could more simply say "Any role".

As far as I can see, these are the only roles that explicitly say that you're not allowed to use an explicit role. :)

Also, there's a bit of inconsistency in the ordering of the wording for the implied role for th; and the implied role for tr doesn't say anything about the ancestor table element.

carmacleod commented 3 years ago

Closing - see explanation in PR.