From ed1588a6f781a52d3b965a5611ff8042c4478726 Mon Sep 17 00:00:00 2001 From: Mehmet Salih Yavuz Date: Mon, 4 May 2026 19:44:05 +0300 Subject: [PATCH 1/2] fix(CollectionControl): a11y drag handle and vertical axis lock MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit dnd-kit attributes (which include role="button", tabIndex, and aria-roledescription) were spread onto a wrapping an , producing a button-role span containing an img-role child — a confusing a11y tree that's not natively keyboard-activatable. - Render the drag handle as
({ flex: 1, @@ -183,6 +211,9 @@ function CollectionControl({ useSensor(PointerSensor, { activationConstraint: { distance: 5 }, }), + useSensor(KeyboardSensor, { + coordinateGetter: sortableKeyboardCoordinates, + }), ); const itemIds = useMemo( @@ -260,6 +291,7 @@ function CollectionControl({ From 74e9a9ace10d21549ad34aad44dffad8d793502f Mon Sep 17 00:00:00 2001 From: Mehmet Salih Yavuz Date: Wed, 6 May 2026 14:42:08 +0300 Subject: [PATCH 2/2] fix(CollectionControl): use core Button for drag handle and add a11y test Replace the hand-rolled + +