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

make the time entries list accessible

Behrokh Satarnejad8542e1a280e8
diff --git a/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html b/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html
index fa117b8aabd..1acbdd7ae62 100644
--- a/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html
+++ b/frontend/src/app/shared/components/grids/widgets/time-entries/list/time-entries-list.component.html
@@ -93,14 +93,19 @@
<td class="buttons">
<a *ngIf="item.entry && item.entry.updateImmediately"
(click)="editTimeEntry(item.entry)"
+ (keyup.enter)="editTimeEntry(item.entry)"
+ (keyup.space)="editTimeEntry(item.entry)"
+ tabindex="0"
[title]="text.edit"
- attr.data-test-selector="edit-time-entry-{{ item.entry.id }}"
- >
+ attr.data-test-selector="edit-time-entry-{{ item.entry.id }}">
<op-icon icon-classes="icon-context icon-edit"></op-icon>
</a>
<a *ngIf="item.entry && item.entry.delete"
+ tabindex="0"
(click)="deleteIfConfirmed($event, item.entry)"
- [title]="text.delete" >
+ (keyup.enter)="deleteIfConfirmed($event, item.entry)"
+ (keyup.space)="deleteIfConfirmed($event, item.entry)"
+ [title]="text.delete">
<op-icon icon-classes="icon-context icon-delete"></op-icon>
</a>
</td>