You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve task drag announcements to name tasks instead of UUIDs #3561
Observe the live-region announcement; press Escape to cancel.
The real Chromium accessibility tree / [role="status"] reports:
Draggable item 064d7f56-a6e7-4131-9078-b4d86022cdf0 was moved over droppable area 064d7f56-a6e7-4131-9078-b4d86022cdf0.
On cancel it announces the same raw UUID. The visible task is GS-1 — Welcome — meet your assistant. Internal IDs give a screen-reader user no useful task or destination identity. Both KanbanBoard and TasksList use DndContext without custom accessibility announcements; the shared use-task-board-dnd.ts already has task/status lookup data.
Expected / acceptance
Share one task drag announcement/instruction implementation across Board and List.
Name the task with its human title/short reference, and the target lane and/or meaningful position; never expose raw database IDs.
Match actual controls: Enter opens; Space picks up/drops; arrows move; Escape cancels.
Cover pickup, move, drop, invalid/no target, cancellation and status lane targets; preserve current focus/drag behavior.
Localize the copy in all shipped locales; test emitted live-region text in real Chromium, including at least one non-English locale. Update the manual/automation register.
Evidence source: detached base 17c6e6ed16ee880eff4b9b18985f7af8e2e9295d plus the isolated #3557/#3559 source fixes, localhost:3071. The List announcement was directly observed; Board has the same uncustomized context in source but was not separately exercised for this announcement. No screen-reader audio session was run. This is a separate usability follow-up, not a blocker for the focused keyboard opener correction.
Implementation/reuse plan from source review (follow-up to #3559; no announcement implementation is included there):
Keep one accessibility contract in use-task-board-dnd.ts and pass it to both KanbanBoard and TasksList via DndContext.accessibility. Reuse its existing byId, working columns and status resolution, plus formatTaskIdentifier; avoid a separate layout-specific lookup or announcer.
Resolve the event's active task and target (task or status lane) to the title/reference, translated tasks.status.* label and useful position. Cover pickup, move, drop, cancellation and absent/invalid targets; never fall back to the internal ID. Read the working order at announcement time so cross-column previews and final drop positions agree, and describe a drop without implying that an asynchronous workflow transition has already succeeded.
Add EN/DE/FR announcement and instruction keys (and relevant sparse de-CH overrides). Instructions must match the shared keyboard sensor: Enter opens, Space picks up/drops, arrows move, Escape cancels. Preserve the native title activator and focus restoration introduced by Bug: top-level task list rows cannot be opened from the keyboard #3559.
Extend the real Chromium task-list/Board tests to assert emitted live-region text across those transitions and an empty status lane, including one non-English locale, missing task data, cancellation and no UUID leakage. Keep a manual screen-reader audio check in the automation register, since DOM text assertions do not prove spoken timing or verbosity.
Activity
yannickmonney commentedon Sep 27, 2026
Implementation/reuse plan from source review (follow-up to #3559; no announcement implementation is included there):
use-task-board-dnd.tsand pass it to bothKanbanBoardandTasksListviaDndContext.accessibility. Reuse its existingbyId, working columns and status resolution, plusformatTaskIdentifier; avoid a separate layout-specific lookup or announcer.tasks.status.*label and useful position. Cover pickup, move, drop, cancellation and absent/invalid targets; never fall back to the internal ID. Read the working order at announcement time so cross-column previews and final drop positions agree, and describe a drop without implying that an asynchronous workflow transition has already succeeded.