-
Notifications
You must be signed in to change notification settings - Fork 83
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
[BUG]: A11Y Checker not handling the case of multiple headers for both rows and columns. #1472
Comments
See the discussion on Slack at https://ibm-studios.slack.com/archives/C036P1CTN/p1684856928127849 |
triage: the current rule only allows the headers in the first row, and empty cell in the left. also need to consider when table header is in the bottom of the data table. |
for @tombrunet review |
Project
a11y checker
Browser
Chrome
Operating system
Windows
Description
We found a bug in
Accessibility checker
tool.We have a complex table where multiple rows & columns act as headers (see screenshot).
The
Accessibility Checker
is showing a1.3.1: Info & Relationships
violation wrtTable has no headers identified
.That being said, we already appear to be implementing the proposed solution by using
id
attribute in the<th>
elements and theheaders
attribute in thetd
cells. (see above pic).Given the above, we believe this is a false-positive violation due to the
A11Y checker
not handling the case of multiple headers for both rows and columns.Here is a sample HTML to help illustrate the scenario.
complexTable.zip
It's essentially the raw HTML to represent a complex chart like.
NOTE: Given that .js & .css files are not included, the output of the sample HTML file will look a bit different.
Steps to reproduce
Run
A11Y checker
on a complex table that includes multiple header rows & multiple header columns.complexTable.zip
The text was updated successfully, but these errors were encountered: