Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 9, 2025. It is now read-only.

Conversation

@klaidigorishti
Copy link
Contributor

Types of Changes

Prerequisites

Please make sure you can check the following two boxes:

  • I have read the CONTRIBUTING document
  • My code follows the code style of this project

Contribution Type

What types of changes does your code introduce? Put an x in all the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue, please reference the issue id)
  • New feature (non-breaking change which adds functionality, make sure to open an associated issue first)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Description

According to WCAG 2 validator, there is "Empty Table Header" error when adding a JSX element on the header.

What does the "Empty Table Header" error mean?

An empty table header error means that one of the table headers on your post or page does not contain any text. This means that the element is present but looks like this with nothing between the opening and closing tags.

The following PR: #372, fixed the case where no text or an empty text was displayed. However, the issue persists when a JSX element is part of the table header.

@klaidigorishti klaidigorishti self-assigned this May 23, 2022
@klaidigorishti klaidigorishti added the bug Something isn't working label May 23, 2022
@klaidigorishti klaidigorishti linked an issue May 23, 2022 that may be closed by this pull request
5 tasks
@dremartins dremartins merged commit ce0979d into main May 24, 2022
@klaidigorishti klaidigorishti deleted the bugfix/377-empty-table-header branch May 24, 2022 08:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WCAG: Table has wrong header

3 participants