-
Notifications
You must be signed in to change notification settings - Fork 48
Update: Clarify and update role allowances for td and th elements #563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: gh-pages
Are you sure you want to change the base?
Conversation
This PR covers a few things: 1. clarifies that the mention of "ancestor table" was meant to mean "nearest ancestor table" - re: validator/validator#1304 2. Per feedback / use cases for correcting errant tables, the allowances for td and th elements have been expanded to allow other reasonable roles that developers may need to use.
| </p> | ||
| <div class="note"> | ||
| <p> | ||
| If a `td` element's nearest descendant `table` element is exposed with a role of `table`, `grid` or `treegrid`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would this (and the matching one below) benefit from a tiny preamble, like "If a td element has a nested table, and the descendant table element..."
| </p> | ||
| <div class="note"> | ||
| <p> | ||
| If a `tr` element's nearest descendant `table` element is exposed with a role of `table`, `grid` or `treegrid`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see above
This PR covers a few things:
TODO: need test cases / updated test cases for the updated role allowances.
Preview | Diff