Skip to content
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

empty-table-header violation at /examples/pydata.html #1480

Closed
Tracked by #1428
gabalafou opened this issue Sep 26, 2023 · 3 comments · Fixed by #1501
Closed
Tracked by #1428

empty-table-header violation at /examples/pydata.html #1480

gabalafou opened this issue Sep 26, 2023 · 3 comments · Fixed by #1501
Labels
tag: accessibility Issues related to accessibility issues or efforts

Comments

@gabalafou
Copy link
Collaborator

gabalafou commented Sep 26, 2023

This has to do with a Pandas data frame converted to an HTML table. The top left table cell is marked up with a <th> but it's empty. Axe does not like empty th tags. The test failure goes away if you convert the <th> to a <td> but I'm not sure where the code lives that converts the Pandas data frame to an HTML table.

@12rambau
Copy link
Collaborator

it's not us, everything is done by nbsphinx and/or myst-nb. so I think you will need to let this one pass.

@gabalafou
Copy link
Collaborator Author

Relevant: #1482

@gabalafou
Copy link
Collaborator Author

Got it, thanks for the info. I will try to close this issue with a PR that suppresses this Axe error on that page. It seems to me like a pretty minor issue anyway. Definitely not needed for WCAG conformance.

@trallard trallard added the tag: accessibility Issues related to accessibility issues or efforts label Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: accessibility Issues related to accessibility issues or efforts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants