kubernetes/website

Add visible sort indicators to sortable table headers

Fermée

#55 766 ouverte le 14 mai 2026

 (2 commentaires) (0 réaction) (0 personne assignée)HTML (13 918 forks)batch import
area/web-developmenthelp wantedkind/featurepriority/backlogtriage/accepted

Métriques du dépôt

Stars
 (4 127 étoiles)
Métriques de merge PR
 (Merge moyen 16j 13h) (160 PRs mergées en 30 j)

Description

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.

Guide contributeur