From 499bde8115c0ec5f8d6ced81fe196c7dbd782e6c Mon Sep 17 00:00:00 2001
From: Haowei <94470439+NeoHW@users.noreply.github.com>
Date: Fri, 2 Aug 2024 22:27:47 +0800
Subject: [PATCH] [#12664] - Instructor's Student Records Page: Accessibility
issue for comment buttons (#13155)
---
.../comment-edit-form.component.html | 28 +++++++---
.../comment-row/comment-row.component.html | 4 +-
...ion-submission-page.component.spec.ts.snap | 52 +++++++++++++------
3 files changed, 59 insertions(+), 25 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..296dd99aa55 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">
-
+
+
-
+
+
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">
diff --git a/src/web/app/pages-session/session-submission-page/__snapshots__/session-submission-page.component.spec.ts.snap b/src/web/app/pages-session/session-submission-page/__snapshots__/session-submission-page.component.spec.ts.snap
index d0f974f68b8..d6760d6eaf8 100644
--- a/src/web/app/pages-session/session-submission-page/__snapshots__/session-submission-page.component.spec.ts.snap
+++ b/src/web/app/pages-session/session-submission-page/__snapshots__/session-submission-page.component.spec.ts.snap
@@ -1253,6 +1253,7 @@ exports[`SessionSubmissionPageComponent should snap with feedback session questi
class="float-end"
>