act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
131 stars 67 forks source link

"Headers attribute specified on a cell refers to cells in the same table element" [a25f45]: require headers to be `th` elements #2110

Open tombrunet opened 10 months ago

tombrunet commented 10 months ago

Updates based on #1910

Closes issue(s):

Need for Call for Review:

This will require a 2 weeks Call for Review


Pull Request Etiquette

When creating PR:

After creating PR:

When merging a PR:

How to Review And Approve

tombrunet commented 10 months ago

@WilcoFiers I put in a change to the expectation based on the issue description, but I'm a bit hesitant about that. I think ATs handle this regardless of whether or not it points to a td or a th. We certainly don't have any fail examples here to demonstrate that. I certainly agree that the examples should be in line with the spec. But, should we: 1) Keep this change to the expectation 2) Revert the expectation and add a failure case where a headers attribute points to a td element 3) Revert the change and do not add new test cases