The child of the `th` should likely be a button to get most of this functionality for free. The `th` should also have the correct [`aria-sort`](https://www.digitala11y.com/aria-sort-properties/) property. Example: https://dequeuniversity.com/library/aria/table-sortable Raised by @kweingart08