From 4e5799544a57e1705dce6f6cd25db2a6796ba4a0 Mon Sep 17 00:00:00 2001 From: NeoHW Date: Mon, 29 Jul 2024 01:27:26 +0800 Subject: [PATCH 1/5] Add voiceover accessibility to delete button and edit button --- .../comment-box/comment-row/comment-row.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/app/components/comment-box/comment-row/comment-row.component.html b/src/web/app/components/comment-box/comment-row/comment-row.component.html index 63bad057870..e485d36f3a3 100755 --- a/src/web/app/components/comment-box/comment-row/comment-row.component.html +++ b/src/web/app/components/comment-box/comment-row/comment-row.component.html @@ -34,9 +34,9 @@
+ (click)="triggerModelChange('isEditing', true)" [disabled]="isDisabled" aria-label="Edit comment"> + (click)="triggerDeleteCommentEvent()" [disabled]="isDisabled" aria-label="Delete comment">
From a95341de401096bdc23164697fc7cbb841dcb72b Mon Sep 17 00:00:00 2001 From: NeoHW Date: Mon, 29 Jul 2024 03:41:27 +0800 Subject: [PATCH 2/5] Edit cancel to come before save in dom --- .../comment-edit-form.component.html | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html b/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html index 2f3edc7e40e..2f0b9f37c84 100755 --- a/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html +++ b/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html @@ -47,10 +47,26 @@ placeholderText="Enter your comment here" [isDisabled]="isDisabled"> - +
+ - + +
From 667787aaaa65986024f3f033cd3e911513719efc Mon Sep 17 00:00:00 2001 From: NeoHW Date: Mon, 29 Jul 2024 03:44:22 +0800 Subject: [PATCH 3/5] Add margin space between cancel and save button --- .../comment-edit-form/comment-edit-form.component.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html b/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html index 2f0b9f37c84..6a27247ed3f 100755 --- a/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html +++ b/src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.html @@ -50,7 +50,7 @@
- + + @@ -1927,6 +1934,7 @@ exports[`SessionSubmissionPageComponent should snap with feedback session questi class="float-end" > + + @@ -4946,6 +4962,7 @@ exports[`SessionSubmissionPageComponent should snap with feedback session questi class="float-end" > -