kubernetes/website

Add visible sort indicators to sortable table headers

已關閉

#55,766 建立於 2026年5月14日

 (2 則留言) (0 個反應) (0 位負責人)HTML (13,918 個分叉)batch import
area/web-developmenthelp wantedkind/featurepriority/backlogtriage/accepted

倉庫指標

星標
 (4,127 顆星)
PR 合併指標
 (平均合併 16天 13小時) (30 天內合併 160 個 PR)

描述

What would you like to be added

Add visible sort indicators (for example ↕, ↑, ↓) to sortable table headers on .sortable-table pages.

Currently, sortable columns support keyboard interaction and aria-sort, but there is no visible indication that a column is sortable or which direction is currently active.

Possible implementation approaches:

  • CSS pseudo-elements on sortable headers
  • Inline indicator elements updated during sorting
  • Indicators synchronized with the current aria-sort state

Why is this needed

Visible sort indicators improve discoverability and usability for all users by making sortable columns easier to identify and by exposing the current sort direction visually alongside existing accessibility improvements.

This would complement the keyboard accessibility and aria-sort updates introduced in PR #55730 .


Comments

This issue is intended as a follow-up enhancement discussion to keep the accessibility/sorting behavior changes separate from UI-related improvements.

貢獻者指南