mirror of
https://github.com/discourse/discourse.git
synced 2025-03-07 15:45:30 +08:00

Topics lists like /latest are ordered by last activity date by default, but the order can be changed (and reversed) to something else such as replies count and views count by clicking on the corresponding column header in the topics list. These column headers are tabbable, but screen readers announce them as, using the replies column as example, `Replies toggle button`. This doesn't communicate very well that this the button changes the order, so this commit adds `aria-label`s to all column headers to make it clear that they change order. The current copy for the `aria-label` is `Sort by replies`.