dequelabs / dequelabs/axe-core

th-has-data-cells doesn't seem to fail anything?

Open
#5,347 1 comment 0 reactions 0 assignees View on GitHub
docs
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

### Product

axe-core

### Product Version

4.12.1

### Latest Version

- [x] I have tested the issue with the latest version of the product

### Issue Description

#### Expectation
The `th-has-data-cells` rule should return failures for the example shown on [table headers in a data table must refer to data cells](https://dequeuniversity.com/rules/axe/4.13/th-has-data-cells?application=RuleDescription) documentation page

#### Actual
Returns no failures.

#### How to Reproduce
Test the page with the axe core web extension using axe-core 4.12.1
I've tried a few other examples that I thought would have failed - those didn't work, so then i tested the documentation page that contains the invalid example, and it also returned no issues.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with axe-core 4.12.1 against the documented invalid example for the th-has-data-cells rule, using the axe-core web extension. Compare the documented expectation with the rule's reported result and verify that the rule returns a failure for the example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
accessibility
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.