mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-10-23 12:12:09 +08:00
While the menu order is locked, the sidebar items were still registered as disabled sortables, so dnd-kit gave each nav button a draggable role description, aria-disabled=true, aria-pressed and the drag instructions. Screen readers announced every item as an unavailable draggable toggle. Only wrap the items in SortableItem while reordering is unlocked. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>