From: Revanshu Paliwal Date: Thu, 22 Sep 2022 12:39:39 +0000 (+0200) Subject: SONAR-16906 [893104] Form elements must have labels X-Git-Tag: 9.7.0.61563~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dd048f5353df1dfe9dcec2a46f4e940745014b35;p=sonarqube.git SONAR-16906 [893104] Form elements must have labels --- diff --git a/server/sonar-web/src/main/js/components/issue/popups/CommentForm.tsx b/server/sonar-web/src/main/js/components/issue/popups/CommentForm.tsx index 1eae2eb9854..e6edbaac200 100644 --- a/server/sonar-web/src/main/js/components/issue/popups/CommentForm.tsx +++ b/server/sonar-web/src/main/js/components/issue/popups/CommentForm.tsx @@ -44,6 +44,7 @@ export default function CommentForm(props: CommentFormProps) { autoFocus={true} style={{ resize: 'vertical' }} placeholder={placeholder} + aria-label={translate('issue.comment.enter_comment')} onChange={(event: React.ChangeEvent) => setEditComment(event.target.value) } diff --git a/sonar-core/src/main/resources/org/sonar/l10n/core.properties b/sonar-core/src/main/resources/org/sonar/l10n/core.properties index 1ef5a3392ac..b0ebf52877e 100644 --- a/sonar-core/src/main/resources/org/sonar/l10n/core.properties +++ b/sonar-core/src/main/resources/org/sonar/l10n/core.properties @@ -827,6 +827,7 @@ issue.assign.to_me=to me issue.quick_fix_available_with_sonarlint=Quick fix available in {link} issue.comment.add_comment=Add Comment issue.comment.add_comment.cancel=Cancel adding comment +issue.comment.enter_comment=Enter Comment issue.comment.formlink=Comment issue.comment.formlink.plural=comments issue.comment.submit=Comment