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

Allow th tags in tbody #206

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

skipchris
Copy link

@skipchris skipchris commented Jun 29, 2020

Previously, a th tag inside a tbody > tr would cause issues with sort.

This is bad! We want to encourage <th scope="row"> in our markup. :)

This 1-line commit fixes that, and updates tests to match.

Previously, a th tag inside a tbody > tr would cause issues with sort.

This is bad! We want to encourage <th scope="row"> in our markup.

This 1-line commit fixes that, and updates tests to match.
@peterwake
Copy link

@skipchris thanks for this .. it was useful. Especially when using "sticky" table headers.. ref for example https://css-tricks.com/a-table-with-both-a-sticky-header-and-a-sticky-first-column/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants