Skip to content

Allow th tags in tbody#206

Open
skipchris wants to merge 1 commit intojoequery:masterfrom
skipchris:allow-th-in-tbody
Open

Allow th tags in tbody#206
skipchris wants to merge 1 commit intojoequery:masterfrom
skipchris:allow-th-in-tbody

Conversation

@skipchris
Copy link
Copy Markdown

@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
Copy Markdown

@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