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

Provide styles for sticky table headers #353

Open
scottaohara opened this issue May 7, 2024 · 1 comment
Open

Provide styles for sticky table headers #353

scottaohara opened this issue May 7, 2024 · 1 comment

Comments

@scottaohara
Copy link
Member

In the ARIA in HTML spec, the document conformance requirements are presented in a rather long table. To help readers of the spec, we modified the style of the table headers so that they could use position: sticky so they'd remain in view while the spec was scrolled.

A recent-ish update to the respec table styling, to better match w3c styles, resulted in the background of the table headers being removed - so now the sticky content has no background color and the header text and the table body text have legibility issues.

Per w3c/html-aria#518, I was told to file an issue here to get official support for this table header treatment, rather than doing it uniquely for the ARIA in HTML spec alone.

In the meantime, I will have to remove the sticky column headers to resolve the legibility issue. But that will of course mean the usability issue of the column headers being visually far removed from the current scroll position will have returned.

@nigelmegitt
Copy link

I'd also like to bring back table header background and foreground color adjustment, something a bit like what Respec used to do with table class="simple".

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

No branches or pull requests

2 participants