-
-
Notifications
You must be signed in to change notification settings - Fork 390
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
feat(core/sortable-table): sortable tables #3812
base: main
Are you sure you want to change the base?
Conversation
The CORS rules got changed on w3.org, which is why historyURI is failing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking pretty good. it's nice that it's so small.
I haven't had the time to look at the implementation yet, but I wonder if it can sort non-ASCII text as well? There are some functions available in JavaScript for sorting international strings, such as Intl.Collator and localeCompare. One use case is this: w3c/jlreq#93 |
Some notes for accessibility: https://adrianroselli.com/2021/04/sortable-table-columns.html |
useful stuff there! |
Closes https://github.com/w3c/respec/issues/3483
First attempt at sortable tables.
<button>
)Live demo (check the last table).