Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Focus whole label instead of only the checkbox but make sure that selecting via Space still works

Henriette Dargeebeeef81aaa0
diff --git a/frontend/src/app/shared/components/project-list/project-list.component.html b/frontend/src/app/shared/components/project-list/project-list.component.html
index 0540c41ab13..4c569c838da 100644
--- a/frontend/src/app/shared/components/project-list/project-list.component.html
+++ b/frontend/src/app/shared/components/project-list/project-list.component.html
@@ -6,7 +6,9 @@
>
<label
*ngIf="multiSelect"
+ tabindex="-1"
class="spot-list--item-action op-project-list--item-action"
+ (keydown.space)="changeSelected(project)"
[ngClass]="{ 'spot-list--item-action_disabled': isDisabled(project) }"
[attr.data-list-selector]="projectListActionIdentifier"
[attr.data-list-disabled]="isDisabled(project) || undefined"