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

Table pagination #749

Open
ghost opened this issue Feb 5, 2024 · 3 comments
Open

Table pagination #749

ghost opened this issue Feb 5, 2024 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 5, 2024

Can you please provide guidance on paginating through table data when a table has a large amount of rows and so the data is presented only N rows at a time? I have not been able to find any information on table navigation controls. Thank you.

@shawna-slh
Copy link
Contributor

Hi @cjfreedman Good question!

We won't be able to update the tutorial to address this soon.

For now you could ask the question to the WAI Interest Group discussion list. You can look through the mailing list archives, to get a feel for the list, through: http://lists.w3.org/Archives/Public/w3c-wai-ig/

You can join the mailing list and post questions by following the instructions for the Discussion List under: https://www.w3.org/WAI/about/groups/waiig/#mailinglist

@ghost
Copy link
Author

ghost commented Feb 5, 2024 via email

@brianelton
Copy link
Collaborator

I would add that pagination would be a separate concept from the table markup. You could use the same pagination that you would find in a search results page, for example. The one connecting bit that you may want to do is to update the <caption> element in the table to describe what range is being shown.

<table>
 <caption>Books published in 2024 - showing 11-20</caption>
  ...
</table>
<nav aria-label="table pagination">
  ...
</nav>

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

No branches or pull requests

2 participants