Practice · Tables & Data
Sortable Tables
Why this is tricky
Clicking a column header re-sorts every row and flips that header's aria-sort attribute — row order and the sort indicator both change out from under a locator that assumed the table's initial order.
| Name | Score |
|---|
Initial state.