# Implementation AGILE-424 - Improve accessible feedback for Backlogs batch selection

Project: Stream agile
Status: in specification
URL: https://community.openproject.org/work_packages/AGILE-424

## OPEN POINTS

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| AGILE-473 | Decide the accessible role structure for Backlogs cards | needs clarification |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Designer |  |
| Developers |  |

## Technical details

| Attribute | Value |
| --- | --- |
| Target versions |  |
| Module |  |
| Requires doc change | No |

## Belongs to

_No work packages_

## Previous chunks

| ID | Subject | Status | Assignee |
| --- | --- | --- | --- |
| AGILE-423 | Make Backlogs batch selection operable with VoiceOver | in specification |  |

## Next chunks

_No work packages_

## Estimates

| Attribute | Value |
| --- | --- |
| Effort (shirt size) |  |
| Work |  |

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| % Complete |  |
| Category |  |
| Sprint |  |
| Backlog bucket |  |
| Priority | Medium |
| List |  |
| Pull preview |  |
| Labels |  |

## Description

## What to build

Make selection feedback convey which work package is selected and the effect of selection changes, including batch size and scope. Agree the feedback with <mention class="mention" data-id="64880" data-type="user" data-text="@Behrokh Satarnejad">@Behrokh Satarnejad</mention> and implement it using accessible control state and concise announcements without redundant speech.

Follow-up to [AGILE-361](https://community.openproject.org/wp/AGILE-361), delivering the multi-selection feature in [AGILE-181](https://community.openproject.org/wp/AGILE-181). Source: [Henriette’s follow-up review](https://github.com/opf/openproject/pull/24525#pullrequestreview-5142945740).

## Acceptance criteria

*   [ ] Users of assistive technology can identify the focused work package and its selection state, separately from the work package open in the details pane.
*   [ ] Toggle, range extension/shrinking/reversal, clear, and select-all operations provide understandable feedback about the resulting selection.
*   [ ] Changes to membership are communicated where needed even when the total count stays the same.
*   [ ] Select-all feedback distinguishes loaded selected cards from work packages omitted by truncation; it does not imply that unloaded work packages were selected.
*   [ ] After server updates or row replacement, accessible state reflects retained and removed selection. Relevant membership changes are communicated without stale state or misleading counts.
*   [ ] Menu actions that change selection and perform an operation provide coordinated feedback, without competing or redundant queued announcements. Coordinate with [AGILE-364](https://community.openproject.org/wp/AGILE-364).
*   [ ] Messages are concise, translatable and plural-aware. Repeated operations remain understandable without reading the entire batch on every change.

## Hints for QA

Check actual screen-reader output for single toggle, same-count membership replacement, range resizing, clear, truncated select-all, server removal of selected cards, list expansion and menu-triggered changes. Confirm both the accessible state of the focused card and the live announcement, including repeated identical operations.

## Merge checklist

*   [ ] Agree wording and the division between accessible control state and live announcements with Behrang.
*   [ ] Implement and verify feedback with VoiceOver, coordinating with the companion VoiceOver interaction follow-up.
*   [ ] Add regression coverage for membership changes, loaded scope and reconciliation.
*   [ ] Verify menu/action announcement composition against AGILE-364 and update interaction documentation.

## Review cases carried from AGILE-361

* [ ] Verify a range in list A, Ctrl/Cmd-toggle in list B, then Shift within B: independent selections in A survive and the successful extension announces the resulting membership. A direct Shift across lists is a restart under the current policy. Resolve or remove the unreachable `range_restarted.other` copy without changing the cross-list policy implicitly. [Jens’s announcement comment](https://github.com/opf/openproject/pull/24525#discussion_r3863097440).
* [ ] On a generic root with different item types, toggling into another type replaces the cohort but must not describe a failed range gesture. Cover pointer and Space paths and preserve the one-type-per-batch rule. [Copilot’s September 9 suppressed finding](https://github.com/opf/openproject/pull/24525#pullrequestreview-5154265098).
* [ ] Repeated rejected ranges remain understandable in actual screen-reader output. Primer appends a non-breaking space to repeat an identical live-region message; verify the spoken result rather than assuming the DOM suffix is spoken or silent. [Jens’s repeated-announcement point](https://github.com/opf/openproject/pull/24525#pullrequestreview-5006033675).
* [ ] Verify the selected card's computed description and spoken state when the shared `aria-describedby` target is hidden, including after morphs. Distinguish description computation from independent exposure of the hidden node. [Original hidden-description comment](https://github.com/opf/openproject/pull/24525#discussion_r3695572671).

## Scope

Consolidates the proposed server-update selection announcements, truncated select-all disclosure, and menu announcement coordination. Does not introduce a persistent visible count/action bar, change selection permissions, or widen select-all scope. VoiceOver navigation and event handling are owned by the companion follow-up.
