# Open Point DREAM-936 - Review Shift+Select All shortcut compatibility

Project: Stream Design System
Status: decided
URL: https://community.openproject.org/work_packages/DREAM-936

## Details

| Attribute | Value |
| --- | --- |
| Involved people | Alexander Coles, Henriette Darge, Behrokh Satarnejad |
| Assignee |  |
| Decision | Shift+A is not handled |
| Date |  |
| Module |  |
| Labels |  |

## Related to

| ID | Subject | Type | Status | Assignee | Project |
| --- | --- | --- | --- | --- | --- |
| DREAM-894 | Keyboard selection, context actions and selection feedback in the work package table | Implementation | closed |  | Stream Design System |
| DREAM-937 | Leave Ctrl/Cmd+Shift+A to the browser in Select All | Implementation | closed |  | Stream Design System |

## Description

## Context

Follow-up from <mention class="mention" data-id="OP-20383" data-type="work_package" data-text="#OP-20383">#OP-20383</mention> and PR <https://github.com/opf/openproject/pull/25284>. The Angular table/card adapter now shares Select All recognition with Sortable Lists / Backlogs (<mention class="mention" data-id="AGILE-181" data-type="work_package" data-text="#AGILE-181">#AGILE-181</mention>). This policy accepts Ctrl/Cmd+Shift+A as well as Ctrl/Cmd+A. The previous Mousetrap bindings in table/card views did not match the Shift chord.

## Work

Decide and document the intended Shift+A behavior across table, card and Sortable Lists views. Assess native browser/control shortcuts and keyboard layouts before changing the shared predicate. Preserve Caps Lock A support and native behavior in nested interactive controls.

## Acceptance criteria

  - An explicit decision records whether Shift+A is handled, with any intentional view differences.
  - Tests cover Apple Cmd and non-Apple Ctrl, Shift, Caps Lock, composition, AltGraph, Latin/non-Latin layouts, and view/control scope.
  - Any user-visible behavior change is documented.

The OP-20200 repair retains the current shared policy; this ticket does not imply a predetermined replacement.

## Decision

**Shift+A is not handled.** The shared Select All predicate accepts **Ctrl+A** (Apple: **Cmd+A**) only. **Ctrl/Cmd+Shift+A** is rejected in every view: work package table, Angular card view and Sortable Lists / Backlogs. There are no intentional view differences.

Reasons:

  - Shift acceptance was never designed. The predicate accepts the uppercase `A` key value so that **Caps Lock** works, and **Shift+A** produces the same key value. The original commit rationale and its tests cover keyboard layouts only and never mention Shift.

  - **Ctrl/Cmd+Shift+A** is a browser shortcut: tab search in Chrome and Edge, the Add-ons Manager in Firefox. Browsers let pages consume it, so a focused row or card currently takes it away from the user.

  - The former table and card Mousetrap binding (`command+a`, `ctrl+a`) never matched the Shift chord. Rejecting Shift restores the prior table and card behavior; only Sortable Lists / Backlogs change.

Retained without change: **Caps Lock** (key value `A` without Shift), AZERTY (**Ctrl+A** on physical `KeyQ`), non-Latin layouts (physical `KeyA` printing Cyrillic or Greek), rejection of composition, Alt and AltGraph, and native behavior in nested interactive controls.

No replacement shortcut is needed for keyboard users: **Ctrl/Cmd+A** keeps working everywhere it worked before.

## Hints for QA

  - Table, card view and a backlog: focus a row or card, press **Ctrl/Cmd+A**: all work packages of that view (Backlogs: of that list) are selected.

  - Same views, **Ctrl/Cmd+Shift+A**: nothing is selected and the browser's own shortcut runs (Chrome/Edge: tab search; Firefox: Add-ons Manager).

  - **Caps Lock** on, **Ctrl/Cmd+A**: Select All still works.

  - Focus inside an input or link within a row: **Ctrl/Cmd+A** keeps the native behavior.
