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

change button to div

bsatarnejad7d013b58ab5b
diff --git a/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html b/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html
index df783e649de..6d4b564873f 100644
--- a/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html
+++ b/frontend/src/app/shared/components/attribute-help-texts/attribute-help-text.component.html
@@ -1,11 +1,14 @@
-<button
- type="button"
+<div
*ngIf="exists"
class="op-link help-text--entry"
[attr.data-qa-help-text-for]="attribute"
[title]="text.open_dialog"
(click)="handleClick($event)"
+ (keydown.enter)="handleClick($event)"
+ (keydown.space)="handleClick($event)"
+ role="button"
+ tabindex="0"
>
<span *ngIf="additionalLabel" [textContent]="additionalLabel"></span>
<op-icon icon-classes="icon icon-no-color icon-help1"></op-icon>
-</button>
+</div>