Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12664] Instructor's Student Records Page: Accessibility issue for comment buttons #12683

Closed
wants to merge 1 commit into from
Closed

[#12664] Instructor's Student Records Page: Accessibility issue for comment buttons #12683

wants to merge 1 commit into from

Conversation

rahulpro2001
Copy link

Fixes #12664

Outline of Solution

  1. Added Aria-Label property inside button for EDIT AND DELETE Buttons for Screen Reader in comment-row.component.html.
  2. Make Changes in the appropriate order of the Save/Add button and Cancel for Screen Reader in comment-edit-form.component.html.

Copy link
Contributor

@domlimm domlimm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @rahulpro2001, do fix the lint issues as well as the failing snapshot tests before we proceed to review your work. You may update the snapshots by running npm run test and pressing a to run all test cases. After that, check through the snapshots to make sure the changes are as expected, then press u to update them. You can find more details on snapshot testing here.

<i class="fas fa-save"></i> {{ mode === CommentRowMode.EDIT ? 'Save' : 'Add' }}
</button>
</span>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: let's keep the newline at the end of file.

</div>
</div>
<div class="comment-text col-12" [innerHTML]="model.originalComment.commentText | safeHtml"></div>
</div>
</div>
</div>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar to above.

@rahulpro2001 rahulpro2001 closed this by deleting the head repository Dec 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Instructor's Student Records Page: Accessibility issue for comment buttons
2 participants